Module easy_ml::tensors

source ·
Expand description

Generic N dimensional named tensors.

Tensors are generic over some type T and some usize D. If T is Numeric then the tensor can be used in a mathematical way. D is the number of dimensions in the tensor and a compile time constant. Each tensor also carries D dimension name and length pairs.

Modules§

Structs§

  • An error indicating failure to do something with a Tensor because the dimension names that were provided did not match with the dimension names that were valid.
  • An error indicating failure to do something with a Tensor because the requested shape is not valid.
  • A named tensor of some type T and number of dimensions D.

Type Aliases§

  • Dimension names are represented as static string references.