# tf_agents.utils.common.in_legacy_tf1

<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/common.py#L97-L98) |

    tf_agents.utils.common.in_legacy_tf1()