code: def _generate():
      """Generates a fake data set and writes it to the fake_examples directory."""
      tfds_dir = FLAGS.tfds_dir or str(utils.tfds_write_path())
      output_dir = os.path.join(
          tfds_dir, "testing", "test_data", "fake_examples", "smallnorb"
      )
      test_utils.remake_dir(output_dir)
      random_state = np.random.RandomState(0)
      _create_chunk(
          os.path.join(output_dir, TRAINING_OUTPUT_NAME), random_state
      )
      _create_chunk(
          os.path.join(output_dir, TESTING_OUTPUT_NAME), random_state
      )
  
file_path: datasets/tensorflow_datasets/testing/fake_data_generation/smallnorb.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 3 for calling a global function with example usage: _generate() without return types