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

Calculates local step for minimizing function

Implementors