# tf_agents.utils.composite.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/composite.py#L25-L29) |

    tf_agents.utils.composite.shape(
        tensor
    )