autumnai / collenchyma

Extendable HPC-Framework for CUDA, OpenCL and common CPU
http://autumnai.github.io/collenchyma
Apache License 2.0
474 stars 35 forks source link

Initializing computational network from a DSL in an External File #48

Open sirinath opened 8 years ago

sirinath commented 8 years ago

Can you add support to initialise computation from a external file using something similar to:

hobofan commented 8 years ago

What use case do you have in mind?

I doubt it fits the scope of Collenchyma which only provides single operations, not connected graphs. I think what you are looking for would be a crate one abstraction level higher and could indeed use Collenchyma for the single operations, but I think Collenchyma should stay agnostic of this.

sirinath commented 8 years ago

You can have it as 3 level:

Maybe you can factor this into different projects or have it here, but should interop with the ML framework.

Current level it is very verbose to use and more coding overhead and complexity to the developer.