Trait gad::net::HasGradientReader [−][src]
pub trait HasGradientReader { type GradientReader; }
Associate a gradient reader to a CoreAlgebra
.
- The gradient reader is possibly a placeholder in the case of algebras without gradients.
- Used to define
Net::read_weight_gradients
in a generic way.
Associated Types
type GradientReader
[src]
Implementors
impl HasGradientReader for Check
[src]
impl HasGradientReader for Check
[src]type GradientReader = EmptyGradientMap
impl HasGradientReader for Eval
[src]
impl HasGradientReader for Eval
[src]type GradientReader = EmptyGradientMap
impl<C: Config> HasGradientReader for Graph<C>
[src]
impl<C: Config> HasGradientReader for Graph<C>
[src]