Type Alias TensorViewDDD

Source
pub type TensorViewDDD<'a, Scalar> = TensorView<'a, 3, 3, 0, Scalar, Scalar, 1, 1>;
Expand description

rank-3 tensor view of scalars with shape [D0 x R x B]

Aliased Type§

pub struct TensorViewDDD<'a, Scalar> {
    pub elem_view: ArrayBase<ViewRepr<&'a Scalar>, Dim<[usize; 3]>>,
    pub scalar_view: ArrayBase<ViewRepr<&'a Scalar>, Dim<[usize; 3]>>,
}

Fields§

§elem_view: ArrayBase<ViewRepr<&'a Scalar>, Dim<[usize; 3]>>

Element view - an ndarray of static tensors with shape [D0, D1, …]

§scalar_view: ArrayBase<ViewRepr<&'a Scalar>, Dim<[usize; 3]>>

Scalar view - an ndarray of scalars with shape [D0, D1, …, S0, S1, …]