pub struct PullbackPlan<V: Differentiable> { /* private fields */ }Expand description
Implementations§
Source§impl<V: Differentiable> PullbackPlan<V>
impl<V: Differentiable> PullbackPlan<V>
Sourcepub fn build(_loss: &TrackedTensor<V>) -> AdResult<Self>
pub fn build(_loss: &TrackedTensor<V>) -> AdResult<Self>
Sourcepub fn execute(&self, _loss: &TrackedTensor<V>) -> AdResult<Gradients<V>>
pub fn execute(&self, _loss: &TrackedTensor<V>) -> AdResult<Gradients<V>>
Trait Implementations§
Source§impl<V: Clone + Differentiable> Clone for PullbackPlan<V>
impl<V: Clone + Differentiable> Clone for PullbackPlan<V>
Source§fn clone(&self) -> PullbackPlan<V>
fn clone(&self) -> PullbackPlan<V>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<V> Freeze for PullbackPlan<V>
impl<V> RefUnwindSafe for PullbackPlan<V>where
V: RefUnwindSafe,
impl<V> Send for PullbackPlan<V>where
V: Send,
impl<V> Sync for PullbackPlan<V>where
V: Sync,
impl<V> Unpin for PullbackPlan<V>where
V: Unpin,
impl<V> UnwindSafe for PullbackPlan<V>where
V: UnwindSafe,
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