Trait renforce::util::LogDiffFunc [] [src]

pub trait LogDiffFunc<S: Space, A: Space, T: Num>: ParameterizedFunc<T> {
    fn log_grad(&self, state: &S::Element, action: &A::Element) -> Vec<T>;
}

A function taking in (state, action) pairs whose log can be differentiated

Required Methods

The gradient of the log of the output with respect to the parameters

Implementors