mathias-brandewinder / CNTK.FSharp

MIT License
67 stars 9 forks source link

DeviceDescriptor pollutes variable construction. #3

Open mathias-brandewinder opened 6 years ago

mathias-brandewinder commented 6 years ago

Creating a Variable or Parameter typically requires explicitly specifying what DeviceDescriptor it is intended to run on. This gets in the way of composition: when creating a model, the DeviceDescriptor needs to be passed in multiple times. Furthermore, it should be possible to create the entire function, and then only decide what DeviceDescriptor should be used, consistently across the whole workflow.