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: Force the deletion of this persistent tensor.
docstr_tok: ["Force","the","deletion","of","this","persistent","tensor","."]
code: def delete(self):
      """Force the deletion of this persistent tensor."""
      if not self._auto_gc_enabled:
          raise TypeError(
              "Persistent tensor %s may have already been deleted."
              % self.handle
          )
      self._auto_gc_enabled = False
      holder, deleter = _get_handle_deleter(
          self._session.graph, 0, self._handle
      )
      self._session.run(deleter, feed_dict={holder: self.handle})
  
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 8 for calling the TensorHandle obj's underlying member method code with example usage: obj.delete() without return types