pub struct NoneTape;
Expand description
Contains nothing. When Tape::add_backward_op is called, this struct does nothing.
Trait Implementations§
source§impl<E: Unit, D: DeviceStorage> Tape<E, D> for NoneTape
impl<E: Unit, D: DeviceStorage> Tape<E, D> for NoneTape
source§const OWNS_TAPE: bool = false
const OWNS_TAPE: bool = false
Whether this object is currently tracking gradients. This is known at compile time.