code: def _generate():
      """Generates a fake data set and writes it to the fake_examples directory."""
      output_dir = os.path.join(
          FLAGS.tfds_dir,
          "testing",
          "test_data",
          "fake_examples",
          "abstract_reasoning",
      )
      test_utils.remake_dir(output_dir)
      random_state = np.random.RandomState(0)
      for split_type in SPLIT_TYPES:
          _create_fake_file(output_dir, split_type, random_state)
  
file_path: datasets/tensorflow_datasets/testing/fake_data_generation/abstract_reasoning.py
imports: import os
  import tarfile
  from absl import app
  from absl import flags
  import numpy
  import six
  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 3 for calling a global function with example usage: _generate() without return types