code: def show_images_diff(original_img, adversarial_img):
      plt.figure()
  
      original_img = original_img / 255.0
      adversarial_img = adversarial_img / 255.0
  
      plt.subplot(1, 3, 1)
      plt.title("Original Image")
      plt.imshow(original_img)
      plt.axis("off")
  
      plt.subplot(1, 3, 2)
      plt.title("Adversarial Image")
      plt.imshow(adversarial_img)
      plt.axis("off")
  
      plt.subplot(1, 3, 3)
      plt.title("Difference")
      difference = adversarial_img - original_img
      # (-1,1)  -> (0,1)
      difference = (
          old_div(difference, abs(difference).max()) / 2.0 + 0.5
      )
      print(difference)
      plt.imshow(difference)
      plt.axis("off")
  
      plt.show()
  
file_path: AdvBox/tutorials/utils.py
imports: from __future__ import division
  from __future__ import print_function
  from past.utils import old_div
  import matplotlib.pyplot
label_desc: Use image node_id 2 for calling a global function with example usage: show_images_diff(original_img, adversarial_img) without return types