pub struct LoadedTrainingArtifact<B: Backend> {
pub manifest: CheckpointManifest,
pub report: TrainingReport,
pub model: ModelInstance<B>,
pub best_validation_model: Option<ModelInstance<B>>,
pub optimizer_state: Option<Vec<u8>>,
}Fields§
§manifest: CheckpointManifest§report: TrainingReport§model: ModelInstance<B>§best_validation_model: Option<ModelInstance<B>>§optimizer_state: Option<Vec<u8>>Trait Implementations§
Source§impl<B: Clone + Backend> Clone for LoadedTrainingArtifact<B>
impl<B: Clone + Backend> Clone for LoadedTrainingArtifact<B>
Source§fn clone(&self) -> LoadedTrainingArtifact<B>
fn clone(&self) -> LoadedTrainingArtifact<B>
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<B> Freeze for LoadedTrainingArtifact<B>
impl<B> !RefUnwindSafe for LoadedTrainingArtifact<B>
impl<B> Send for LoadedTrainingArtifact<B>
impl<B> !Sync for LoadedTrainingArtifact<B>
impl<B> Unpin for LoadedTrainingArtifact<B>
impl<B> UnsafeUnpin for LoadedTrainingArtifact<B>
impl<B> !UnwindSafe for LoadedTrainingArtifact<B>
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