Struct border_atari_env::BorderAtariEnv
source · [−]pub struct BorderAtariEnv<O, A, OF, AF> where
O: Obs,
A: Act,
OF: BorderAtariObsFilter<O>,
AF: BorderAtariActFilter<A>, { /* private fields */ }Expand description
A wrapper of atari learning environment.
Preprocessing is the same in the link: https://stable-baselines3.readthedocs.io/en/master/common/atari_wrappers.html#stable_baselines3.common.atari_wrappers.AtariWrapper.
Implementations
impl<O, A, OF, AF> BorderAtariEnv<O, A, OF, AF> where
O: Obs,
A: Act,
OF: BorderAtariObsFilter<O>,
AF: BorderAtariActFilter<A>,
impl<O, A, OF, AF> BorderAtariEnv<O, A, OF, AF> where
O: Obs,
A: Act,
OF: BorderAtariObsFilter<O>,
AF: BorderAtariActFilter<A>,
Trait Implementations
Save the agent in the given directory.
This method commonly creates a number of files consisting the agent
in the directory. For example, the DQN agent in border_tch_agent crate saves
two Q-networks corresponding to the original and target networks. Read more
impl<O, A, OF, AF> Default for BorderAtariEnv<O, A, OF, AF> where
O: Obs,
A: Act,
OF: BorderAtariObsFilter<O>,
AF: BorderAtariActFilter<A>,
impl<O, A, OF, AF> Default for BorderAtariEnv<O, A, OF, AF> where
O: Obs,
A: Act,
OF: BorderAtariObsFilter<O>,
AF: BorderAtariActFilter<A>,
impl<O, A, OF, AF> Env for BorderAtariEnv<O, A, OF, AF> where
O: Obs,
A: Act,
OF: BorderAtariObsFilter<O>,
AF: BorderAtariActFilter<A>,
impl<O, A, OF, AF> Env for BorderAtariEnv<O, A, OF, AF> where
O: Obs,
A: Act,
OF: BorderAtariObsFilter<O>,
AF: BorderAtariActFilter<A>,
Currently it supports non-vectorized environment.
type Config = BorderAtariEnvConfig<O, A, OF, AF>
type Config = BorderAtariEnvConfig<O, A, OF, AF>
Configurations.
type Obs = O
type Obs = O
Observation of the environment.
type Act = A
type Act = A
Action of the environment.
type Info = NullInfo
type Info = NullInfo
Information in the self::Step object.
Builds an environment with a given random seed.
Resets the environment if is_done[0] == 1. or is_done.is_none(). Read more