code: def save_img2png(input_image, name):
      input_image = np.reshape(
          input_image,
          (
              input_image.shape[0],
              input_image.shape[1],
              input_image.shape[2],
          ),
      )
      img = np.round(restore_pic(input_image)).astype(np.uint8)
      img_ouput = Image.fromarray(img)
      filename = name + ".png"
      img_ouput.save(filename)
  
imports: import tensorflow
  import numpy
  from PIL import Image
  import sys
  from scipy import misc
  import os
  import time
  from adversarialbox.attacks.tf.tools import deepfool
  import facenet
label_desc: Use image node_id 4 for calling a global function with example usage: save_img2png(input_image, name) without return types