code: def transform_predictions(coords, center, scale, output_size):
      target_coords = np.zeros(coords.shape)
      trans = get_affine_transform(center, scale, 0, output_size, inv=1)
      for p in range(coords.shape[0]):
          target_coords[p, 0:2] = affine_transform(
              coords[p, 0:2], trans
          )
      return target_coords
  
imports: from __future__ import absolute_import
  from __future__ import division
  import math
  import random
  import numpy
  import mxnet
  from mxnet import nd, image
  from mxnet.gluon.data.vision import transforms
  from ...utils.filesystem import try_import_cv2
label_desc: Use image node_id 3 for calling a global function with example usage: transform_predictions(coords, center, scale, output_size) and returns: target_coords