Module tensor

Source

Traitsยง

Affine
apply an affine transformation to a tensor; affine transformation is defined as mul * self + add
Inverse
The Inverse trait generically establishes an interface for computing the inverse of a type, regardless of if its a tensor, scalar, or some other compatible type.
MatMul
The MatMul trait defines an interface for matrix multiplication.
MatPow
The MatPow trait defines an interface for computing the exponentiation of a matrix.
Transpose
The Transpose trait generically establishes an interface for transposing a type