code: def dump(output_dir, fname, images, labels):
      path = os.path.join(output_dir, fname)
      print("Writing %s..." % path)
      with open(path, "wb") as out_file:
          for image, labels in zip(images, labels):
              out_file.write(labels.tobytes())
              out_file.write(image.tobytes())
  
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 3 for calling a global function with example usage: dump(output_dir, fname, images, labels) without return types