code: def _at_exit():
      """Log import operation if needed, calls `process_ends` on loggers."""
      # Do not try to populate loggers when nothing was called.
      if _registered_loggers is None:
          return
      for logger in _get_registered_loggers():
          logger.process_ends()
  
imports: import abc
  import atexit
  import collections
  import functools
  import threading
  from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar
  from absl import flags
  from tensorflow_datasets.core.logging import base_logger
  from tensorflow_datasets.core.logging import call_metadata
  from tensorflow_datasets.core.logging import logging_logger
  import wrapt
label_desc: Use image node_id 4 for calling a global function with example usage: _at_exit() without return types