code: def transform_preds_with_trans(coords, trans):
      target_coords = np.ones((coords.shape[0], 3), np.float32)
      target_coords[:, :2] = coords
      target_coords = np.dot(
          trans, target_coords.transpose()
      ).transpose()
      return target_coords[:, :2]
  
file_path: PaddleDetection/ppdet/modeling/heads/centertrack_head.py
imports: import numpy
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from ppdet.core.workspace import register
  from .centernet_head import ConvLayer
  from ..keypoint_utils import get_affine_transform
label_desc: Use image node_id 1 for calling a global function with example usage: transform_preds_with_trans(coords, trans) and returns: target_coords