code: def _generate_data():
      """Generate data examples."""
      # pylint: disable=protected-access
      labels = tfds.features.ClassLabel(
          names=gtzan._CLASS_LABELS
      ).names  # pytype: disable=module-attr
      # pylint: enable=protected-access
      wav_file = fake_data_utils.get_random_wav_c1(
          duration=30, sample=22050
      )
      # .wav file has name in the format of <genre>.<number>.wav
      label = random.choice(labels)
      random_number_for_filename = random.randint(0, 99)
      filename = "{}.{:05d}".format(label, random_number_for_filename)
      filepath = os.path.join(
          _output_dir(), "genres", label, "{}.wav".format(filename)
      )
      dirname = os.path.dirname(filepath)
      if not tf.io.gfile.exists(dirname):
          tf.io.gfile.makedirs(dirname)
      tf.io.gfile.copy(wav_file, filepath, overwrite=True)
  
file_path: datasets/tensorflow_datasets/audio/gtzan/dummy_data_generation.py
imports: import os
  import random
  from absl import app
  from absl import flags
  from tensorflow_datasets.audio.gtzan import gtzan
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
  from tensorflow_datasets.testing import fake_data_utils
label_desc: Use image node_id 2 for calling a global function with example usage: _generate_data() without return types