code: def write_image_file(filename, num_images):
      with tf.io.gfile.GFile(filename, "wb") as f:
          np.savetxt(f, make_images(num_images), delimiter=" ")
  
file_path: datasets/tensorflow_datasets/testing/fake_data_generation/binarized_mnist.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 4 for calling a global function with example usage: write_image_file(filename, num_images) without return types