class_docstr: Represents a handle for a live tensor in a session.
class_docstr_tok: ["Represents","a","handle","for","a","live","tensor","in","a","session","."]
docstr: The device name encoded in the handle.
docstr_tok: ["The","device","name","encoded","in","the","handle","."]
code: def _get_device_name(handle):
      """The device name encoded in the handle."""
      handle_str = compat.as_str_any(handle)
      return pydev.canonical_name(handle_str.split(";")[-1])
  
imports: import numpy
  from tensorflow.core.framework import resource_handle_pb2
  from tensorflow.python.client import pywrap_tf_session
  from tensorflow.python.framework import device
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_data_flow_ops
  from tensorflow.python.util import compat
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 10 for calling the TensorHandle obj's underlying member method code with example usage: obj._get_device_name(handle) and returns: pydev