class_docstr: Container for variables and flags shared across TraceType generation.
code: def __init__(self, is_legacy_signature: bool = False):
      self._global_to_local_id = {}
      self._alias_id_to_placeholder = {}
      self._is_legacy_signature = is_legacy_signature
  
imports: import collections.abc
  from typing import Any, Dict, Hashable, Optional
  import weakref
  from tensorflow.core.function.trace_type import custom_nest_trace_type
  from tensorflow.core.function.trace_type import default_types
  from tensorflow.core.function.trace_type import util
  from tensorflow.python.types import trace
  from tensorflow.python.util import custom_nest_protocol
label_desc: Use image node_id 1 to create a new InternalTracingContext object from inherited base classes: trace with example: obj = InternalTracingContext(is_legacy_signature)