oa::ml::loss::SacLossConfig

Discount and entropy temperature used by SAC losses.

StRust public API

Declaration

pub struct SacLossConfig { pub discount: f32, pub entropy_coefficient: f32, }
Public Rust declaration.

Public Methods

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

Associated Functions

fn default() -> Self

Public Data Members

discountf32field
entropy_coefficientf32field

Public Method Documentation

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