code: def refactor_datasets() -> None:
      """Refactoring all dataset into one folder."""
      for ds_name in FLAGS.datasets.split(",") or tfds.list_builders(
          with_community_datasets=False
      ):
          refactor_dataset(ds_name)
  
file_path: datasets/tensorflow_datasets/scripts/cleanup/refactor_dataset_as_folder.py
imports: import dataclasses
  import shutil
  from typing import Type
  from absl import app
  from absl import flags
  import tensorflow_datasets
label_desc: Use image node_id 9 for calling a global function with example usage: refactor_datasets() without return types