# tf_agents.utils.nest_utils.spec_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#L611-L616) |

    tf_agents.utils.nest_utils.spec_shape(
        t
    )