Function wyrm::finite_difference [−][src]
pub fn finite_difference<T>(
input: &mut Variable<ParameterNode>,
output: &mut Variable<T>
) -> (Arr, Arr) where
T: Node<Value = Arr, InputGradient = Arr>,
Compute finite difference gradient estimates of the output variable with respect to the input. Use to verify correctness of gradient computations.