code: def upscale2d(x, scale):
      _, h, w, _ = get_conv_shape(x)
      return resize_nearest_neighbor(x, (h * scale, w * scale))
  
imports: import tensorflow
label_desc: Use image node_id 12 for calling a global function with example usage: upscale2d(x, scale) and returns: resize_nearest_neighbor