pub struct EvalTape { /* private fields */ }Expand description
Workspace that stores intermediate primals and gradient vectors during evaluation. Reuse it across calls to avoid repeated allocations when performance matters.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvalTape
impl RefUnwindSafe for EvalTape
impl Send for EvalTape
impl Sync for EvalTape
impl Unpin for EvalTape
impl UnsafeUnpin for EvalTape
impl UnwindSafe for EvalTape
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more