# Module: tf_agents.environments.batched_py_environment

<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/environments/batched_py_environment.py) |

Treat multiple non-batch environments as a single batch environment.

## Classes

[`class BatchedPyEnvironment`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/environments/BatchedPyEnvironment): Batch together multiple py environments and act as a single batch.

## Functions

[`unstack_actions(...)`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/environments/batched_py_environment/unstack_actions): Returns a list of actions from potentially nested batch of actions.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| absolute_import | Instance of `__future__._Feature` |
| division | Instance of `__future__._Feature` |
| print_function | Instance of `__future__._Feature` |

<br />