class_docstr: Wrapper around Tf_ApiDefMap that handles querying and deletion.
  
  The OpDef protos are also stored in this class so that they could
  be queried by op name.
class_docstr_tok: ["Wrapper","around","Tf_ApiDefMap","that","handles","querying","and","deletion",".","The","OpDef","protos","are","also","stored","in","this","class","so","that","they","could","be","queried","by","op","name","."]
code: def __del__(self):
      # Note: when we're destructing the global context (i.e when the process is
      # terminating) we can have already deleted other modules.
      if c_api is not None and c_api.TF_DeleteApiDefMap is not None:
          c_api.TF_DeleteApiDefMap(self._api_def_map)
  
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 2 for calling the ApiDefMap obj's underlying member method code with example usage: obj.__del__() without return types