[−][src]Trait melange::tensor::shape::Shape
Marker trait implemented on typenum
's TArr
containing a collection
of type-level unsigned integers or Dyn
. Provides the LEN
constant
that stores the number of axes in the shape and a runtime_compat
function.
Associated Constants
Loading content...Required methods
fn runtime_compat(shape: &[usize]) -> bool
Checks the given slice shape
against the type-level shape for compatibility.
Implementations on Foreign Types
impl Shape for ATerm
[src]
impl<D, A> Shape for TArr<D, A> where
A: Shape,
D: Dim,
[src]
Loading content...A: Shape,
D: Dim,