NdGradient

Trait NdGradient 

Source
pub trait NdGradient<S, D, A = <S as RawData>::Elem>: NdTensor<S, D, A>
where D: Dimension, S: RawData<Elem = A>,
{ type Delta<_S, _D, _A>: NdTensor<_S, _D, _A> where _D: Dimension, _S: RawData<Elem = _A>; // Required method fn grad(&self, rhs: &Self::Delta<S, D, A>) -> Self::Delta<S, D, A>; }

Required Associated Types§

Source

type Delta<_S, _D, _A>: NdTensor<_S, _D, _A> where _D: Dimension, _S: RawData<Elem = _A>

Required Methods§

Source

fn grad(&self, rhs: &Self::Delta<S, D, A>) -> Self::Delta<S, D, A>

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§