Expand description
the tensor module provides various traits and types for handling n-dimensional tensors.
this module focuses on establishing a solid foundation for working with n-dimensional
tensors.
Modules§
- iter
- this module defines various iterators for the
TensorBase
Structs§
- Tensor
Base - the
TensorBasestruct is the base type for all tensors in the library.
Traits§
- NdTensor
- The [
Tensor] trait extends theRawTensortrait to provide additional functionality for tensors, such as creating tensors from shapes, applying functions, and iterating over elements. It is generic over the element typeAand the dimension type `D - Numerical
- Numerical is a trait for all numerical types; implements a number of core operations
- RawTensor
- The
RawTensortrait defines the base interface for all tensors, - Scalar
- The Scalar trait extends the Numerical trait to include additional mathematical operations for the purpose of reducing the number of overall traits required to complete various machine-learning tasks.
- Scalar
Complex
Type Aliases§
- ArcTensor
- a type alias for a
TensorBasewith an owned representation - RawView
MutTensor - a type alias for a
TensorBasewith an owned representation - RawView
Tensor - A type alias for a
TensorBasewith a raw pointer representation. - Tensor
- a type alias for a
TensorBasewith an owned representation - Tensor
View - a type alias for a
TensorBasewith a view representation - Tensor
View Mut - a type alias for a
TensorBasewith a mutable view representation