Tensorrs
Tensorrs is a lightweight machine learning library written in Rust.
It provides a simple and efficient way to build and train neural networks with minimal dependencies.
Huge Warning
Tensorrs is currently in alpha version.
The API is unstable — function names, argument types, and behaviors may change at any time.
Use at your own risk and pin exact versions if needed.
Dependencies
Tensorrs uses the following crates:
rayon
— for parallel CPU computationsrand
— for random number generationserde
— for model serializationserde_json
— for model deserialization
Installation
Add tensorrs
to your project from crates.io:
[]
= "0.2.0"
Example Usage
use ;
use ;
use Matrix;
use SSE;
use ;
use Adam;
// simple xor gate realization
Contributing
If you'd like to contribute to Tensors, please follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bugfix.
-
Submit a pull request with a detailed description of your changes.
See CONTRIBUTING for more details
License
Tensors is licensed under the MIT License. See LICENSE for more details.