reverse_vjp_ad

Function reverse_vjp_ad 

Source
pub fn reverse_vjp_ad<F>(
    func: F,
    x: &ArrayView1<'_, f64>,
    v: &ArrayView1<'_, f64>,
) -> Result<Array1<f64>, OptimizeError>
Expand description

Vector-Jacobian product using reverse-mode AD for AD-compatible functions