Struct border_atari_env::atari_env::AtariRamEnv
source · pub struct AtariRamEnv { /* private fields */ }Implementations§
Trait Implementations§
source§impl GymEnv<i32> for AtariRamEnv
impl GymEnv<i32> for AtariRamEnv
fn state_size(&self) -> Vec<usize>
source§fn action_space(&self) -> ActionSpace<i32>
fn action_space(&self) -> ActionSpace<i32>
it’s hard to cover all types of action_space:
discrete/continuous, box, hierarchical, etc
Supported action types: Read more
fn state(&self, out: ArrayViewMut<'_, f32, IxDyn>) -> Result<()>
fn step(&mut self, action: ArrayD<i32>) -> Result<i32>
fn is_over(&self) -> bool
fn reset(&mut self)
Auto Trait Implementations§
impl RefUnwindSafe for AtariRamEnv
impl Send for AtariRamEnv
impl Sync for AtariRamEnv
impl Unpin for AtariRamEnv
impl UnwindSafe for AtariRamEnv
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more