class_docstr: Builds a map from module name to imports included in that module.
docstr: Formats import statement.
  
  Args:
    source_module_name: (string) Source module to import from.
    source_name: (string) Source symbol name to import.
    dest_name: (string) Destination alias name.
  
  Returns:
    An import statement string.
docstr_tok: ["Formats","import","statement",".","Args",":","source_module_name",":","(","string",")","Source","module","to","import","from",".","source_name",":","(","string",")","Source","symbol","name","to","import",".","dest_name",":","(","string",")","Destination","alias","name",".","Returns",":","An","import","statement","string","."]
code: def format_import(self, source_module_name, source_name, dest_name):
      """Formats import statement.
  
      Args:
        source_module_name: (string) Source module to import from.
        source_name: (string) Source symbol name to import.
        dest_name: (string) Destination alias name.
  
      Returns:
        An import statement string.
      """
      if self._lazy_loading:
          return "  '%s': ('%s', '%s')," % (
              dest_name,
              source_module_name,
              source_name,
          )
      else:
          if source_module_name:
              if source_name == dest_name:
                  return "from %s import %s" % (
                      source_module_name,
                      source_name,
                  )
              else:
                  return "from %s import %s as %s" % (
                      source_module_name,
                      source_name,
                      dest_name,
                  )
          else:
              if source_name == dest_name:
                  return "import %s" % source_name
              else:
                  return "import %s as %s" % (source_name, dest_name)
  
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 6 for calling the _ModuleInitCodeBuilder obj's underlying member method code with example usage: obj.format_import(source_module_name, source_name, dest_name) and returns: unknown, unknown, unknown, unknown, unknown