Tensor3

Type Alias Tensor3 

Source
pub type Tensor3<T, A> = Tensor<T, 3, A>;
Expand description

Type alias for a 3-dimensional tensor.

Aliased Type§

pub struct Tensor3<T, A> {
    pub storage: TensorStorage<T, A>,
    pub shape: [usize; 3],
    pub strides: [usize; 3],
}

Fields§

§storage: TensorStorage<T, A>

The storage of the tensor.

§shape: [usize; 3]

The shape of the tensor.

§strides: [usize; 3]

The strides of the tensor data in memory.