flashlight_tensor
Tensor library written in pure rust, designed mostly for matrix operations
Package abandoned, use something else
project not related to similarly named flashlight. The name was coincidental and chosen independently.
Current state of package
Package abandoned, because I lack knowledge and will for further development.
"Flashlight" was supposed to be my small project that I will have fun developing, and with more knowledge I gained on the topic, the more I knew I need to rewrite whole project from base.
This is my own decision, and no one can change it. I will still develop a github version, but mostly to learn about machine learning.
Once I feel confident in my knowledge, I plan to create another neural network package, with a proper structure and propably a different name.
The package will stay on crates but without any updates.
If someone wants to publish a crate with that name, please contact me, and I will transfer the ownershit to you
Features
- n-dimensional tensors
- Element-wise operations
- Scalar multiplication and addition
- Tensor multiplication and addition
- Matrix transformation
- Dot product
- CPU only, with GPU support in plans
Instalation
[]
= "0.2.4"
Quick Start
use *;
Documentation
all tensor operations in tensor category
Tests
Run tests with:
cargo test
G# means github version # of patch. You can treat that as alpha patch of next version. Versions G are avilable on github early, and those features will be released on cargo with next bigger patch. Not everything in G version is tested and working. You are using it at your own responsibility.
Patch notes
- V0.2.4:
- matrix_vec/col, now return a matrix, not vector
- matrix_col/row_sum/prod, return a sum/product of all collumns/rows in matrix
- V0.2.5
- G1
- mutable operations for iterative functions
- G1