class_docstr: A container for managing functions.
class_docstr_tok: ["A","container","for","managing","functions","."]
docstr: Deletes a function given the context and type.
docstr_tok: ["Deletes","a","function","given","the","context","and","type","."]
code: def delete(
      self,
      function_type: function_type_lib.FunctionType,
      context: Optional[FunctionContext] = None,
  ) -> bool:
      """Deletes a function given the context and type."""
      context = context or FunctionContext()
      if (context, function_type) not in self._primary:
          return False
  
      del self._primary[(context, function_type)]
      self._dispatch_dict[context].delete(function_type)
  
      return True
  
file_path: tensorflow/tensorflow/core/function/polymorphism/function_cache.py
imports: import collections
  from typing import Any, NamedTuple, Optional
  from tensorflow.core.function.polymorphism import function_type
  from tensorflow.core.function.polymorphism import type_dispatch
label_desc: Use image node_id 3 for calling the FunctionCache obj's underlying member method code with example usage: obj.delete(function_type, context) and returns: True, False