code: def image_save(path, na: numpy.ndarray):
      """
      Saves an image.
      However, note this expects a numpy array.
      Shape is (h, w, 3).
      """
      # change type
      na = numpy.fmax(numpy.fmin(na * 255.0, 255), 0).astype("uint8")
      # file
      Image.fromarray(na).save(path)
  
file_path: kompute/examples/neural_network_vgg7/sh_common.py
imports: from PIL import Image
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: image_save(path, na) without return types