Пример #1
0
 def worker_fn(fn: Callable[[], gym.Env]) -> SubprocEnvWorker:
     return SubprocEnvWorker(fn, share_memory=True)
Пример #2
0
 def worker_fn(fn):
     return SubprocEnvWorker(fn, share_memory=True)