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