Neural Networks
Consistent with deep learning trends, the Rust community has built several neural network libraries.
Taking a page from python’s scikit-learn project, rusty-machine is a major ML crate in the Rust ecosystem. It also powers Learning Machines, a set of interactive tutorials on machine learning, and this presentation provides a solid introduction.
Juice is a forked attempt to revive Leaf which was a deep learning framework that made a huge splash in the community before being orphaned.
And of course, there are Tensorflow bindings.
Other neural network libraries have been created but are often experimental. Some of the projects listed here appear to be inactive, but are still listed to serve as an inspiration for any future projects.
tch [ crate · repo · docs ]
Rust wrappers for the PyTorch C++ api (libtorch).
tensorflow [ crate · repo · docs ]
Rust language bindings for TensorFlow.
tflite [ crate · repo · docs ]
Rust bindings for TensorFlow Lite
rusty-machine [ crate · repo · docs ]
A machine learning library.
cogent [ crate · repo · docs ]
Basic neural network library for classification.
autograd [ crate · repo · docs ]
Tensors and differentiable operations in Rust
juice [ crate · repo · docs ]
Machine Learning Framework for Hackers
autograph [ crate · repo · docs ]
Machine Learning Library for Rust
alumina [ crate · repo · docs ]
An Experimental Deep Learning Library
nn [ crate · repo · docs ]
A multilayer feedforward backpropagation neural network library
prophet [ crate · repo · docs ]
A neural network implementation with a focus on cache-efficiency and sequential performance.
rustml [ crate · repo · docs ]
A library for doing maching learning in Rust.
leaf [ crate · repo · docs ]
Machine Learning Framework for Hackers
fann [ crate · repo · docs ]
Wrapper for the Fast Artificial Neural Networks library
cntk [ crate · repo · docs ]
Wrapper around Microsoft CNTK library
tvm [ crate · repo · docs ]
TVM Rust runtime
neuroflow [ crate · repo · docs ]
The neural network library implemented in Rust
revonet [ crate · repo · docs ]
Rust implementation of real-coded genetic algorithm for solving optimization problems and training of neural networks. The latter is also known as neuroevolution.
hal-ml [ crate · repo · docs ]
HAL: a machine learning library that is able to run on Nvidia, OpenCL or CPU BLAS based compute backends. It currently provides stackable classical neural networks, RNN's and soon to be LSTM's. A differentiation of this package is that we are looking to implement RTRL (instead of just BPTT) for the recurrent layers in order to provide a solid framework for online learning. We will also (in the future) be implementing various layers such as unitary RNN's, NTM's and Adaptive Computation time based LSTM's. HAL also comes with the ability to plot and do many basic math operations on arrays.
drug [ crate · repo · docs ]
A differentiable computation graph for neural networks.
outbrain/fwumious_wabbit [ repo · ]
Fast logistic regression and field-aware factorization machines in Rust
tedsta/deeplearn-rs [ repo · ]
Deep neural networks in Rust
torchrs/torchrs [ repo · ]
Torch.rs (torturous) is a set of Rust bindings for torch intended to provide an API very close to that of PyTorch.
Looking for something you didn't find? Try asking on Zulip chat.