pub fn reverse_gradient<F>(
func: F,
x: &ArrayView1<'_, f64>,
) -> Result<Array1<f64>, OptimizeError>
Expand description
Compute gradient using reverse-mode automatic differentiation
pub fn reverse_gradient<F>(
func: F,
x: &ArrayView1<'_, f64>,
) -> Result<Array1<f64>, OptimizeError>
Compute gradient using reverse-mode automatic differentiation