#tensor #scientific

rstsr-native-impl

An n-Dimension Rust Tensor Toolkit

18 unstable releases (3 breaking)

0.6.2 Nov 14, 2025
0.6.0-alpha.1 Sep 30, 2025
0.4.0 Jul 25, 2025

#2012 in Machine learning

41 downloads per month
Used in 11 crates (6 directly)

Apache-2.0

395KB
10K SLoC

RSTSR rust native implementation to simple operators

This crate includes some native implementation (such as tensor addition, reduction, layout-change operations).

Only CPU (both serial and rayon parallel) are of concern.

It is splitted from rstsr-core, so to make this crate rstsr-native-impl more emphasis on computation, and this rstsr-core more emphasis on device and tensor structure/trait definition.

This crate can also be used if you wish to use tensor computation utilities, without actually defining a tensor object. In another word, this crate is device-free. Only serial and rayon parallel is concerned in this crate.

THis crate uses utilities in rstsr-common, such as layout, broadcasting, iterator.

Dependencies

~2.2–3MB
~65K SLoC