code: def _generate_cifar10_data():
      output_dir = cifar10_output_dir()
      test_utils.remake_dir(output_dir)
      for batch_number in range(1, NUMBER_BATCHES + 1):
          generate_cifar10_batch("data_batch_%s.bin" % batch_number)
      generate_cifar10_batch("test_batch.bin")
      label_names = tfds.builder("cifar10").info.features["label"].names
      print(label_names)
      with open(os.path.join(output_dir, "batches.meta.txt"), "w") as f:
          f.write("\n".join(label_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 7 for calling a global function with example usage: _generate_cifar10_data() without return types