# tf_agents.environments.batched_py_environment.unstack_actions

<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#L201-L208) |

Returns a list of actions from potentially nested batch of actions.

    tf_agents.environments.batched_py_environment.unstack_actions(
        batched_actions: https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedArray
    ) -> https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedArray