# tf_agents.utils.nest_utils.unstack_nested_tensors

<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/utils/nest_utils.py#L787-L813) |

Make list of unstacked nested tensors.

    tf_agents.utils.nest_utils.unstack_nested_tensors(
        tensors, specs
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `tensors` | Nested tensors whose first dimension is to be unstacked. |
| `specs` | Tensor specs for tensors. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A list of the unstacked nested tensors. ||

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| `ValueError` | if the tensors and specs have incompatible dimensions or shapes. |

<br />