oa::ml::training::TrainingMetricSample

One named scalar published with a completed-step snapshot.

StRust public API

Declaration

pub struct TrainingMetricSample { pub name: String, pub value: f64, pub step: u64, }
Public Rust declaration.

Public Methods

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

Public Data Members

nameStringfield
valuef64field
stepu64field

Public Method Documentation

fn clone( &self ) -> TrainingMetricSample
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: &TrainingMetricSample ) -> bool
No public source comment is attached to this declaration.