code: def get_handle_data(source_t):
      """Obtains HandleData from a tensor."""
      if isinstance(source_t, core.Value):
          return (
              source_t._handle_data
          )  # pylint: disable=protected-access
      return get_resource_handle_data(source_t)
  
file_path: tensorflow-upstream/tensorflow/python/ops/handle_data_util.py
imports: from tensorflow.python.client import pywrap_tf_session
  from tensorflow.python.framework import cpp_shape_inference_pb2
  from tensorflow.python.framework import dtypes
  from tensorflow.python.types import core
  from tensorflow.python.util import compat
label_desc: Use image node_id 2 for calling a global function with example usage: get_handle_data(source_t) and returns: get_resource_handle_data, source_t