pub struct RosaCheckpoint { /* private fields */ }Expand description
A lightweight snapshot of the append-only internal SAM buffers.
Restoring to a checkpoint is O(1) (via truncation) and is meant to support repeated evaluation of different continuations from the same base training state.
Trait Implementations§
Source§impl Clone for RosaCheckpoint
impl Clone for RosaCheckpoint
Source§fn clone(&self) -> RosaCheckpoint
fn clone(&self) -> RosaCheckpoint
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 moreSource§impl Debug for RosaCheckpoint
impl Debug for RosaCheckpoint
impl Copy for RosaCheckpoint
Auto Trait Implementations§
impl Freeze for RosaCheckpoint
impl RefUnwindSafe for RosaCheckpoint
impl Send for RosaCheckpoint
impl Sync for RosaCheckpoint
impl Unpin for RosaCheckpoint
impl UnwindSafe for RosaCheckpoint
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