code: def _tranpose_and_gather_feat(feat, bbox_inds):
      feat = feat.transpose([0, 2, 3, 1])
      feat = feat.reshape([-1, feat.shape[3]])
      feat = paddle.gather(feat, bbox_inds)
      return feat
  
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 2 for calling a global function with example usage: _tranpose_and_gather_feat(feat, bbox_inds) and returns: feat