# tf_agents.utils.nest_utils.get_outer_array_shape

<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#L1085-L1090) |

Batch dims of array's batch dimension `dim`.

    tf_agents.utils.nest_utils.get_outer_array_shape(
        nested_array, spec
    )