pub struct TrainingStats {
pub total_batches: usize,
pub total_commands: usize,
pub command_histogram: HashMap<String, usize>,
pub session_duration_ms: f64,
pub avg_batch_size: f64,
pub unique_node_ids: usize,
}Expand description
Aggregate statistics about a training record for model analysis.
Fields§
§total_batches: usize§total_commands: usize§command_histogram: HashMap<String, usize>§session_duration_ms: f64§avg_batch_size: f64§unique_node_ids: usizeTrait Implementations§
Source§impl Clone for TrainingStats
impl Clone for TrainingStats
Source§fn clone(&self) -> TrainingStats
fn clone(&self) -> TrainingStats
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 TrainingStats
impl Debug for TrainingStats
Source§impl<'de> Deserialize<'de> for TrainingStats
impl<'de> Deserialize<'de> for TrainingStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TrainingStats
impl RefUnwindSafe for TrainingStats
impl Send for TrainingStats
impl Sync for TrainingStats
impl Unpin for TrainingStats
impl UnsafeUnpin for TrainingStats
impl UnwindSafe for TrainingStats
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