class_docstr: A container for all capture usages within FuncGraph.
code: def __init__(self):
      self._by_ref_internal = py_collections.OrderedDict()
      self._by_ref_external = py_collections.OrderedDict()
      self._by_ref_tracetype = py_collections.OrderedDict()
      self._by_val_internal = MutationAwareDict()
      self._by_val_external = MutationAwareDict()
      self._by_val_tracetype = py_collections.OrderedDict()
  
      # Set of external ops on which the graph has a control dependency
      self.control = object_identity.ObjectIdentitySet()
  
      # Cached properties derived from the above.
      self._cached_by_val_capture_tuples = []
      self._cached_capture_types = py_collections.OrderedDict()
  
imports: import collections
  import functools
  from typing import Any, Callable, Hashable, Mapping, Optional
  from tensorflow.core.function import trace_type
  from tensorflow.python import pywrap_tfe
  from tensorflow.python.framework import dtypes
  from tensorflow.python.types import core
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 1 to create a new FunctionCaptures object from inherited base classes: object with example: obj = FunctionCaptures()