tf.variable_op_scope

tf.variable_op_scope(
    values,
    name_or_scope,
    default_name=None,
    initializer=None,
    regularizer=None,
    caching_device=None,
    partitioner=None,
    custom_getter=None,
    reuse=None,
    dtype=None,
    use_resource=None,
    constraint=None
)

Defined in tensorflow/python/ops/variable_scope.py.

See the guide: Variables > Sharing Variables

Deprecated: context manager for defining an op that creates variables.