code: def import_modules(modules):
      errors = []
      for module in modules:
          try:
              importlib.import_module(module)
          except ImportError as error:
              errors.append((module, error))
      _handle_errors(errors)
  
file_path: tensor2tensor/tensor2tensor/data_generators/all_problems.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import importlib
  import six
  from six.moves import range
label_desc: Use image node_id 3 for calling a global function with example usage: import_modules(modules) without return types