code: def transpred(kpts, h, w, s):
      trans, _ = get_affine_mat_kernel(h, w, s, inv=True)
  
      return warp_affine_joints(kpts[..., :2].copy(), trans)
  
imports: import cv2
  import numpy
  import paddle.nn.functional
label_desc: Use image node_id 6 for calling a global function with example usage: transpred(kpts, h, w, s) and returns: warp_affine_joints