code: def variable_op_v2(
      shape, dtype, name="Variable", container="", shared_name=""
  ):
      """Create a variable Operation.
  
      See also variables.Variable.
  
      Args:
        shape: The shape of the tensor managed by this variable
        dtype: The underlying type of the tensor values.
        name: optional name to use for the variable op.
        container: An optional string. Defaults to "".
          If non-empty, this variable is placed in the given container.
          Otherwise, a default container is used.
        shared_name: An optional string. Defaults to "".
          If non-empty, this variable is named in the given bucket
          with this shared_name. Otherwise, the node name is used instead.
  
      Returns:
        A variable tensor.
      """
      return gen_state_ops.variable_v2(
          shape=shape,
          dtype=dtype,
          name=name,
          container=container,
          shared_name=shared_name,
      )
  
imports: from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_math_ops
  from tensorflow.python.ops import gen_resource_variable_ops
  from tensorflow.python.ops import gen_state_ops
  from tensorflow.python.ops import state_grad
  from tensorflow.python.ops.gen_state_ops import *
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.deprecation import deprecated
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 2 for calling a global function with example usage: variable_op_v2(shape, dtype, name, container, shared_name) and returns: gen_state_ops