pub type Tensor1<T, A> = Tensor<T, 1, A>;Expand description
Type alias for a 1-dimensional tensor.
Aliased Type§
pub struct Tensor1<T, A> {
pub storage: TensorStorage<T, A>,
pub shape: [usize; 1],
pub strides: [usize; 1],
}Fields§
§storage: TensorStorage<T, A>The storage of the tensor.
shape: [usize; 1]The shape of the tensor.
strides: [usize; 1]The strides of the tensor data in memory.