class_docstr: Container with mappings shared across TraceTypes for placeholder values.
code: def __init__(
      self,
      context_graph=None,
      placeholder_mapping=None,
      unnest_only=False,
      with_none_control_dependencies=False,
      composite_device_name=None,
  ):
      self._alias_id_to_placeholder = placeholder_mapping or {}
      self._naming_scope = None
      self._context_graph = context_graph
      self._unnest_only = unnest_only
      self._with_none_control_dependencies = (
          with_none_control_dependencies
      )
      self._composite_device_name = composite_device_name
  
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 InternalPlaceholderContext object from inherited base classes: trace with example: obj = InternalPlaceholderContext(context_graph, placeholder_mapping, unnest_only, with_none_control_dependencies, composite_device_name)