pub struct OwnedTape(_);
Expand description
Contains a boxed GradientTape. When Tape::add_backward_op is called, this function passes the operation directly to GradientTape.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for OwnedTape
impl !Send for OwnedTape
impl !Sync for OwnedTape
impl Unpin for OwnedTape
impl !UnwindSafe for OwnedTape
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more