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