class_docstr: Wrapper around TF_Function that handles deletion.
class_docstr_tok: ["Wrapper","around","TF_Function","that","handles","deletion","."]
code: def __init__(self, func, name):
      super(ScopedTFFunction, self).__init__(
          name=name, obj=func, deleter=c_api.TF_DeleteFunction
      )
  
imports: import contextlib
  from tensorflow.core.framework import api_def_pb2
  from tensorflow.core.framework import op_def_pb2
  from tensorflow.python.client import pywrap_tf_session
  from tensorflow.python.util import compat
  from tensorflow.python.util import tf_contextlib
label_desc: Use image node_id 1 to create a new ScopedTFFunction object from inherited base classes: UniquePtr with example: obj = ScopedTFFunction(func, name)