pub trait Tape {
    const OWNS_TAPE: bool;

    fn add_backward_op<F: 'static + FnOnce(&mut Gradients)>(
        &mut self,
        operation: F
    ); }
Expand description

Something that can add a gradient operation to GradientTape.

Required Associated Constants

Whether this object currently owns the GradientTape. This is known at compile time.

Required Methods

Implementors