oa::ml::training::DqnTrainerMetrics

Last completed DQN update and its synchronized scalar loss.

StRust public API

Declaration

pub struct DqnTrainerMetrics { pub update: u64, pub loss: f32, }
Public Rust declaration.

Public Methods

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

Associated Functions

fn default() -> DqnTrainerMetrics

Public Data Members

updateu64field
lossf32field

Public Method Documentation

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