pub struct BatchBackpropScratch { /* private fields */ }Expand description
Reusable buffers for Mlp::backward_batch.
This stores two work buffers sized for the maximum layer dimension.
Implementations§
Trait Implementations§
Source§impl Clone for BatchBackpropScratch
impl Clone for BatchBackpropScratch
Source§fn clone(&self) -> BatchBackpropScratch
fn clone(&self) -> BatchBackpropScratch
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 Freeze for BatchBackpropScratch
impl RefUnwindSafe for BatchBackpropScratch
impl Send for BatchBackpropScratch
impl Sync for BatchBackpropScratch
impl Unpin for BatchBackpropScratch
impl UnwindSafe for BatchBackpropScratch
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