Realm

oa::ml::training::RolloutTrainingConfig

Struct published by the oa::ml::training module.

StRust public API

Declaration

pub struct RolloutTrainingConfig { pub rollouts: u64, pub horizon: usize, pub environments: usize, pub update_epochs: u64, pub timer_name: String, pub enable_gpu_timing: bool, }
Public Rust declaration.

Public Methods

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

Associated Functions

pub fn new() -> Self
fn default() -> Self

Public Data Members

rolloutsu64field
horizonusizefield
environmentsusizefield
update_epochsu64field
timer_nameStringfield
enable_gpu_timingboolfield

Public Method Documentation

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