MCPcopy Index your code
hub / github.com/rlcode/reinforcement-learning / make_vec_env

Function make_vec_env

3-atari/env.py:108–110  ·  view source on GitHub ↗

Bundle n_envs copies of make_env into a SyncVectorEnv.

(args, n_envs)

Source from the content-addressed store, hash-verified

106
107
108def make_vec_env(args, n_envs):
109 """Bundle n_envs copies of make_env into a SyncVectorEnv."""
110 return gym.vector.SyncVectorEnv([lambda: make_env(args) for _ in range(n_envs)])
111
112
113def pick_device(arg="auto"):

Callers 1

2-ppo.pyFile · 0.90

Calls 1

make_envFunction · 0.70

Tested by

no test coverage detected