# tf.compat.v1.op_scope

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.1.0/tensorflow/python/framework/ops.py#L6459-L6466) |

DEPRECATED. Same as name_scope above, just different argument order.

    @tf_contextlib.contextmanager
    tf.compat.v1.op_scope(
        values, name, default_name=None
    )