oa::ml::ReplayConfig

Shape, capacity, and action representation of one replay buffer.

StRust public API

Declaration

pub struct ReplayConfig { pub capacity: usize, pub observation_shape: Vec<usize>, pub action_shape: Vec<usize>, pub action_dtype: DType, }
Public Rust declaration.

Public Methods

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

Public Data Members

capacityusizefield
observation_shapeVec<usize>field
action_shapeVec<usize>field
action_dtypeDTypefield

Public Method Documentation

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