[−][src]Trait melange::tensor::shape::SameNumElements
Binary trait operator that outputs B1 if the implementor shape and Rhs have the same number of elements i.e. the products of their dimensions are equal.
This is useful to perform compile-time reshape checks.
Associated Types
type Output
Implementations on Foreign Types
impl<T, S, A, Rhs> SameNumElements<T, Rhs> for TArr<S, A> where
Self: NumElements<T>,
Rhs: NumElements<T>,
Self::Output: IsEqual<<Rhs as NumElements<T>>::Output>,
[src]
Self: NumElements<T>,
Rhs: NumElements<T>,
Self::Output: IsEqual<<Rhs as NumElements<T>>::Output>,