[][src]Crate melange



backprop extends the tensor module with the concept of variables that are structs containing a value tensor, an option for a gradient tensor and a move closure that keeps track of the operands that created the value and backpropagates the gradient.


ring defines the Ring trait that provides useful features of algebraic rings such as identity elements and multiplicative inversion.


tensor is a collection of tools to interact with multidimensional arrays that are at the core of ML pipelines. It defines various ways to store data and optimized mathematical operations. Contrary to other ndarray modules such as numpy in Python or ndarray in Rust, this module allows full size checking at compile time thanks to type level integers from the typenum crate.