code: def recursive_import(root):
      """Recursively imports all the sub-modules under a root package.
  
      Args:
        root: A python package.
      """
      for _, name, _ in pkgutil.walk_packages(
          root.__path__, prefix=root.__name__ + "."
      ):
          try:
              importlib.import_module(name)
          except (AttributeError, ImportError):
              pass
  
imports: import importlib
  import os
  import pkgutil
  import sys
  from absl import flags
  from absl.testing import absltest
  import numpy
  import tensorflow.compat.v2
  from tensorflow.python.eager import context
  from tensorflow.python.ops import logging_ops
  from tensorflow.tools.docs import tf_doctest_lib
  import doctest
label_desc: Use image node_id 1 for calling a global function with example usage: recursive_import(root) without return types