Skip to main content

NonScalarShape

Trait NonScalarShape 

Source
pub trait NonScalarShape: TensorShape {
    type Subshape: TensorShape;

    const AXIS_LEN: usize;
}

Required Associated Constants§

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<const N: usize, Rest> NonScalarShape for Dim<N, Rest>
where Rest: TensorShape,