code: def resize_by_hw(img, size):
      """Resize the image to be the given width and height"""
      new_img = img.resize((size[1], size[0]))
      return new_img
  
imports: from __future__ import division
  from builtins import range
  from builtins import object
  import random
  import numpy
  from PIL import Image, ImageEnhance
  import math
label_desc: Use image node_id 6 for calling a global function with example usage: resize_by_hw(img, size) and returns: new_img