Trait dfdx::tensor::TapeHolder
source · [−]pub trait TapeHolder {
fn add_operation<F: 'static + FnOnce(&mut Gradients)>(
&mut self,
operation: F
);
}
Expand description
Something that can add a gradient operation to GradientTape.