Module: tf_agents.environments.parallel_py_environment
Stay organized with collections
Save and categorize content based on your preferences.
Runs multiple environments in parallel processes and steps them in batch.
Classes
class ParallelPyEnvironment
: Batch together environments and simulate them in external processes.
class ProcessPyEnvironment
: Step a single env in a separate process for lock free paralellism.
Type Aliases
EnvConstructor
Promise
Other Members |
absolute_import
|
Instance of __future__._Feature
|
division
|
Instance of __future__._Feature
|
print_function
|
Instance of __future__._Feature
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# Module: tf_agents.environments.parallel_py_environment\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/environments/parallel_py_environment.py) |\n\nRuns multiple environments in parallel processes and steps them in batch.\n\nClasses\n-------\n\n[`class ParallelPyEnvironment`](../../tf_agents/environments/ParallelPyEnvironment): Batch together environments and simulate them in external processes.\n\n[`class ProcessPyEnvironment`](../../tf_agents/environments/parallel_py_environment/ProcessPyEnvironment): Step a single env in a separate process for lock free paralellism.\n\nType Aliases\n------------\n\n[`EnvConstructor`](../../tf_agents/environments/parallel_py_environment/EnvConstructor)\n\n[`Promise`](../../tf_agents/environments/parallel_py_environment/Promise)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Other Members ------------- ||\n|-----------------|-----------------------------------|\n| absolute_import | Instance of `__future__._Feature` |\n| division | Instance of `__future__._Feature` |\n| print_function | Instance of `__future__._Feature` |\n\n\u003cbr /\u003e"]]