class_docstr: Builds a map from module name to imports included in that module.
code: def __init__(
      self,
      output_package,
      api_version,
      lazy_loading=_LAZY_LOADING,
      use_relative_imports=False,
  ):
      self._output_package = output_package
      # Maps API module to API symbol name to set of tuples of the form
      # (module name, priority).
      # The same symbol can be imported from multiple locations. Higher
      # "priority" indicates that import location is preferred over others.
      self._module_imports = collections.defaultdict(
          lambda: collections.defaultdict(set)
      )
      self._dest_import_to_id = collections.defaultdict(int)
      # Names that start with underscore in the root module.
      self._underscore_names_in_root = set()
      self._api_version = api_version
      # Controls whether or not exported symbols are lazily loaded or statically
      # imported.
      self._lazy_loading = lazy_loading
      self._use_relative_imports = use_relative_imports
  
imports: import argparse
  import collections
  import importlib
  import os
  import sys
  from tensorflow.python.tools.api.generator import doc_srcs
  from tensorflow.python.util import tf_decorator
  from tensorflow.python.util import tf_export
label_desc: Use image node_id 1 to create a new _ModuleInitCodeBuilder object from inherited base classes: object with example: obj = _ModuleInitCodeBuilder(output_package, api_version, lazy_loading, use_relative_imports)