code: def get_unique_variable(var_op_name):
      """Gets the variable uniquely identified by that var_op_name.
  
      Args:
        var_op_name: the full name of the variable op, including the scope.
  
      Returns:
        a tensorflow variable.
  
      Raises:
        ValueError: if no variable uniquely identified by the name exists.
      """
      candidates = get_variables(scope=var_op_name)
      if not candidates:
          raise ValueError("Couldn't find variable %s" % var_op_name)
  
      for candidate in candidates:
          if candidate.op.name == var_op_name:
              return candidate
      raise ValueError(
          "Variable %s does not uniquely identify a variable"
          % var_op_name
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import re
  from .arg_scope import add_arg_scope
  from tensorflow.core.protobuf import saver_pb2
  from tensorflow.python import pywrap_tensorflow
  from tensorflow.python.framework import device
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import resource_loader
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.training import saver
  from tensorflow.python.training import training_util
  from tensorflow.python.util.deprecation import deprecated
label_desc: Use image node_id 18 for calling a global function with example usage: get_unique_variable(var_op_name) and returns: candidate