oa::ml::training::ValidationResult

Aggregate returned by one application-owned validation pass.

StRust public API

Declaration

pub struct ValidationResult { pub loss: f64, pub batches: u64, pub samples: u64, }
Public Rust declaration.

Public Methods

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

Associated Functions

fn default() -> Self

Public Data Members

lossf64field
batchesu64field
samplesu64field

Public Method Documentation

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