pub fn reverse_gradient_with_tape<F>(
func: F,
x: &ArrayView1<'_, f64>,
_options: &ReverseADOptions,
) -> Result<Array1<f64>, OptimizeError>
Expand description
Simple reverse-mode gradient computation using a basic tape
pub fn reverse_gradient_with_tape<F>(
func: F,
x: &ArrayView1<'_, f64>,
_options: &ReverseADOptions,
) -> Result<Array1<f64>, OptimizeError>
Simple reverse-mode gradient computation using a basic tape