def _Import(name):
  """Imports the python module of the given name."""
  tf.logging.info('Importing %s', name)
  try:
    importlib.import_module(name)
    tf.logging.info('Imported %s', name)
  except ImportError as e:
    # It is expected that some imports may be missing.
    tf.logging.info('Could not import %s: %s', name, e)