code: def main(_):
      for mnist in ["mnist", "fashion_mnist", "kmnist", "emnist"]:
          output_dir = mnist_dir(mnist)
          test_utils.remake_dir(output_dir)
          write_image_file(
              os.path.join(output_dir, _TRAIN_DATA_FILENAME), 10
          )
          write_label_file(
              os.path.join(output_dir, _TRAIN_LABELS_FILENAME), 10
          )
          write_image_file(
              os.path.join(output_dir, _TEST_DATA_FILENAME), 2
          )
          write_label_file(
              os.path.join(output_dir, _TEST_LABELS_FILENAME), 2
          )
  
file_path: datasets/tensorflow_datasets/testing/fake_data_generation/mnist.py
imports: import os
  from absl import app
  from absl import flags
  import numpy
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.testing import test_utils
label_desc: Use image node_id 7 for calling a global function with example usage: main(_) without return types