Zyx
Zyx is machine learning library written in Rust.
For README and source code, please visit github.
Just a quick taste:
cargo add zyx-opencl;
cargo add zyx-optim;
cargo add zyx-nn;
let dev = device?;
let l0 = dev.linear;
let l1 = dev.linear;
let x = dev.tensor.cast;
let target = dev.tensor;
let mut optim = SGD ;
let train_steps = 100;
for _ in 0..train_steps
l0.into_iter.chain.save;
For more details, there is a book.