docs.rs failed to build cntk-0.0.4
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Bindings for CNTK library
Simple low level bindings for CNTK library from Microsoft.
Status
Currently exploring ways how to interact with C++ API nicely from Rust. Expect a lot of breaking changes.
Build scripts are not ready yet, might not work outside of 64bit linux.
Building and installing
You need to have CNTK-2.2 installed and paths to includes and library files in relevant enviroment variables (cntk activate scripts does this well). You also need g++-4.8 installed (because CNTK uses it to compile things).
Other limitations
Only works with single precision (f32 in Rust, float in C++) types. Only works with dense representations of vectors/matrices/tensors. Only works with ASCII strings for variable names and filenames.
Roadmap
- Figure out how to pass data in and out. Currently
Value::batchfor input andValue::to_vecshould be enough. - Variable creation. - Some basics are there
- Gradients. - Possible to do backward pass
- Training simple feed forward net. - Possible.
- Save and load model. - Possible.
- Training recurrent or seq2seq net. - Recurrences are possible.
- Convnets. - Convolution and pooling are present
- Code for most operations. (probably generated). - Almost all, except couple of helpers.
- Write some meaningful examples. - Only in tests now.
- Catch all relevant C++ exceptions
- Better build scripts.