tf_agents.system.multiprocessing.OpenAIGymStateSaver
Stay organized with collections
Save and categorize content based on your preferences.
Sets and restores OpenAI gym registry.
Inherits From: StateSaver
Methods
collect_state
View source
collect_state()
restore_state
View source
restore_state(
state
)
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,["# tf_agents.system.multiprocessing.OpenAIGymStateSaver\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/system/system_multiprocessing.py#L296-L309) |\n\nSets and restores OpenAI gym registry.\n\nInherits From: [`StateSaver`](../../../tf_agents/system/default/multiprocessing_core/StateSaver)\n\n#### View aliases\n\n\n**Main aliases**\n\n[`tf_agents.system.system_multiprocessing.OpenAIGymStateSaver`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/system/multiprocessing/OpenAIGymStateSaver)\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `collect_state`\n\n[View source](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/system/system_multiprocessing.py#L299-L300) \n\n collect_state()\n\n### `restore_state`\n\n[View source](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/system/system_multiprocessing.py#L302-L309) \n\n restore_state(\n state\n )"]]