Skip to main content

CowNdTensor

Type Alias CowNdTensor 

Source
pub type CowNdTensor<'a, T, const N: usize> = TensorBase<CowData<'a, T>, NdLayout<N>>;
Expand description

Owned or borrowed tensor with N dimensions.

CowNdTensors can be created using as_cow (to borrow) or into_cow.

The name comes from std::borrow::Cow.

Aliased Typeยง

pub struct CowNdTensor<'a, T, const N: usize> { /* private fields */ }