# tf.compat.v1.get_variable_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/ops/variable_scope.py#L1433-L1436) |

Returns the current variable scope.

    tf.compat.v1.get_variable_scope()