code: def _generate_cifar100_data():
      """Generates .bin and label .txt files for cifar100."""
      output_dir = cifar100_output_dir()
      test_utils.remake_dir(output_dir)
      generate_cifar100_batch("train.bin", 10)
      generate_cifar100_batch("test.bin", 2)
      fine_names = tfds.builder("cifar100").info.features["label"].names
      coarse_names = (
          tfds.builder("cifar100").info.features["coarse_label"].names
      )
      with open(
          os.path.join(output_dir, "fine_label_names.txt"), "w"
      ) as f:
          f.write("\n".join(fine_names))
      with open(
          os.path.join(output_dir, "coarse_label_names.txt"), "w"
      ) as f:
          f.write("\n".join(coarse_names))
  
file_path: datasets/tensorflow_datasets/testing/fake_data_generation/cifar.py
imports: import os
  from absl import app
  from absl import flags
  import numpy
  import tensorflow_datasets
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.testing import test_utils
label_desc: Use image node_id 6 for calling a global function with example usage: _generate_cifar100_data() without return types