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: Constructs a new tensor handle.
  
  A tensor handle for a persistent tensor is a python string
  that has the form of "tensor_name;unique_id;device_name".
  
  Args:
    handle: A tensor handle.
    dtype: The data type of the tensor represented by `handle`.
    session: The session in which the tensor is produced.
docstr_tok: ["Constructs","a","new","tensor","handle",".","A","tensor","handle","for","a","persistent","tensor","is","a","python","string","that","has","the","form","of","``","tensor_name",";","unique_id",";","device_name","''",".","Args",":","handle",":","A","tensor","handle",".","dtype",":","The","data","type","of","the","tensor","represented","by","`","handle","`",".","session",":","The","session","in","which","the","tensor","is","produced","."]
code: def __init__(self, handle, dtype, session):
      """Constructs a new tensor handle.
  
      A tensor handle for a persistent tensor is a python string
      that has the form of "tensor_name;unique_id;device_name".
  
      Args:
        handle: A tensor handle.
        dtype: The data type of the tensor represented by `handle`.
        session: The session in which the tensor is produced.
      """
      self._handle = compat.as_str_any(handle)
      self._resource_handle = None
      self._dtype = dtype
      self._session = session
      self._auto_gc_enabled = True
  
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 1 to create a new TensorHandle object  with example: obj = TensorHandle(handle, dtype, session)