Module acme_tensor::prelude
source · Re-exports§
pub use crate::Tensor;
pub use super::IntoShape;
pub use super::Statistics;
pub use super::StatisticsExt;
pub use crate::error::*;
pub use crate::ops::*;
Structs§
- An Axis is used to represent a dimension in a tensor.
- An immutable iterator of the elements of a tensor Elements are visited in order, matching the layout of the tensor.
- The layout describes the memory layout of a tensor.
- An iterator over the positions of an n-dimensional tensor. Each step yields a position containing the current position and corresponding index.
- An iterator over the variants of Order
- A shape is a description of the number of elements in each dimension.
- An iterator over the variants of TensorKind
- An iterator over the variants of TensorType
Enums§
- Auto-generated discriminant enum variants
Traits§
- Inversion
- Matrix multiplication
Functions§
- Calculate the step size for a given range and number of steps.
Type Aliases§
- A type alias for an unsigned integer used to index into a tensor.
- A type alias for a signed integer used to index into a tensor.