Cherry-pick from #200 - update the function signature - format code-style - move _compile into separate functions - fix a bug in to_torch and to_numpy (Batch) - remove None in action_range In short, the code-format only contains function-signature style and `'` -> `"`. (pick up from [black](https://github.com/psf/black))
12 lines
304 B
Python
12 lines
304 B
Python
from tianshou.env.worker.base import EnvWorker
|
|
from tianshou.env.worker.dummy import DummyEnvWorker
|
|
from tianshou.env.worker.subproc import SubprocEnvWorker
|
|
from tianshou.env.worker.ray import RayEnvWorker
|
|
|
|
__all__ = [
|
|
"EnvWorker",
|
|
"DummyEnvWorker",
|
|
"SubprocEnvWorker",
|
|
"RayEnvWorker",
|
|
]
|