Skip to main content

Module vectorized

Module vectorized 

Source
Expand description

Vectorized environment wrapper.

VecEnv runs multiple Env instances in lock-step, auto-resetting any environment that reaches a terminal state. All observations are returned as a flattened Vec<f32> of length n_envs × obs_dim.

Structs§

VecEnv
Synchronous vectorized environment.
VecStepResult
Result returned by VecEnv::step.