oa::ml::training::SacTrainerMetrics

Last completed SAC actor/critic update pair.

StRust public API

Declaration

pub struct SacTrainerMetrics { pub update: u64, pub actor_loss: f32, pub critic_loss: f32, }
Public Rust declaration.

Public Methods

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

Associated Functions

fn default() -> SacTrainerMetrics

Public Data Members

updateu64field
actor_lossf32field
critic_lossf32field

Public Method Documentation

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