tf_agents.system.multiprocessing.GinStateSaver
Stay organized with collections
Save and categorize content based on your preferences.
Sets and restores internal gin state.
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.GinStateSaver\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#L285-L293) |\n\nSets and restores internal gin state.\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.GinStateSaver`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/system/multiprocessing/GinStateSaver)\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#L288-L289) \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#L291-L293) \n\n restore_state(\n state\n )"]]