Trait renforce::util::GradientDescAlgo
[−]
[src]
pub trait GradientDescAlgo<F: Float> { fn calculate(&mut self, grad: Vec<F>, lr: F) -> Vec<F>; }
Calculates gradient steps
Required Methods
Implementors
impl<F: Float> GradientDescAlgo<F> for GradientDesc
impl<F: Float> GradientDescAlgo<F> for GradDescMomentum<F>
impl<F: Float> GradientDescAlgo<F> for RMSProp<F>