oa::ml::training::TrainingSessionSnapshot

Bounded live-control snapshot published by an attached iterator.

StRust public API

Declaration

pub struct TrainingSessionSnapshot { pub revision: u64, pub state: TrainingState, pub step: u64, pub epoch: u64, pub learning_rate: f32, pub loss: f32, pub gpu_ms: f64, pub wall_ms: f64, pub metrics: Vec<TrainingMetricSample>, }
Public Rust declaration.

Public Methods

fn clone(&self) -> TrainingSessionSnapshot
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &TrainingSessionSnapshot) -> bool

Public Data Members

revisionu64field
stateTrainingStatefield
stepu64field
epochu64field
learning_ratef32field
lossf32field
gpu_msf64field
wall_msf64field
metricsVec<TrainingMetricSample>field

Public Method Documentation

fn clone( &self ) -> TrainingSessionSnapshot
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &TrainingSessionSnapshot ) -> bool
No public source comment is attached to this declaration.