garage.sampler.vec_env_executor module

Environment wrapper that runs multiple environments.

class VecEnvExecutor(envs, max_path_length)[source]

Bases: object

Environment wrapper that runs multiple environments.

action_space

Read / write the action space.

close()[source]

Close all environments.

num_envs

Read / write the number of environments.

observation_space

Read / write the observation space.

reset()[source]

Reset all environments.

step(action_n)[source]

Step all environments using the provided actions.