# 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.0.0/tensorflow/python/ops/variable_scope.py#L1365-L1368) |

Returns the current variable scope.

    tf.compat.v1.get_variable_scope()