code: def write_png(filename, image):
      """Saves an image to a PNG file."""
      string = tf.image.encode_png(image)
      tf.io.write_file(filename, string)
  
imports: import argparse
  import glob
  import sys
  from absl import app
  from absl.flags import argparse_flags
  import tensorflow
  import tensorflow_compression
  import tensorflow_datasets
label_desc: Use image node_id 2 for calling a global function with example usage: write_png(filename, image) without return types