oa::ml::loss::DqnLossConfig

Discount applied to the non-terminal next-state value in DQN.

StRust public API

Declaration

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

Public Methods

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

Associated Functions

fn default() -> Self

Public Data Members

discountf32field

Public Method Documentation

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