Module tensor

Source
Expand description

A tensor represents multidimensional data

Matrix is only good enough up until a certain point

Structs§

Tensor

Enums§

Dimension
Enum for specifying which dimension / axis to work with
TensorError
Common Tensor errors that can occur

Traits§

TensorElement
TensorElement is a trait explaining all traits an item has to have. FOr now, these restrictions make it so only f32s and f64s are supported, and for AI, this is mostly ok

Type Aliases§

Shape
Shape represents the dimension size of the tensor as a tuple of usize