# Module: tf_agents.system.multiprocessing

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/system/system_multiprocessing.py) |

Multiprocessing library for TF-Agents.

#### View aliases


**Main aliases**

[`tf_agents.system.system_multiprocessing`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/system/multiprocessing)

<br />

## Classes

[`class GinStateSaver`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/system/multiprocessing/GinStateSaver): Sets and restores internal gin state.

[`class OpenAIGymStateSaver`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/system/multiprocessing/OpenAIGymStateSaver): Sets and restores OpenAI gym registry.

## Functions

[`get_context(...)`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/system/multiprocessing/get_context): Get a context: an object with the same API as multiprocessing module.