Struct reverse::Tape [−][src]
pub struct Tape { /* fields omitted */ }
Expand description
Tape (Wengert list) that tracks differentiable variables, intermediate values, and the operations applied to each.
Implementations
Gets the number of nodes (differentiable variables and intermediate values) in the tape.
Add a variable with value val
to the tape. Returns a Var<'a>
which can be used like an f64
.
Add a slice of variables to the tape. See add_var
for details.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Tape
impl UnwindSafe for Tape
Blanket Implementations
Mutably borrows from an owned value. Read more