code: def _roi_pooling_2d_yx(
      x, indices_and_rois, outh, outw, spatial_scale
  ):
      xy_indices_and_rois = indices_and_rois[:, [0, 2, 1, 4, 3]]
      pool = F.roi_pooling_2d(
          x, xy_indices_and_rois, outh, outw, spatial_scale
      )
      return pool
  
file_path: chainercv/chainercv/links/model/faster_rcnn/faster_rcnn_vgg.py
imports: import numpy
  import chainer
  import chainer.functions
  import chainer.links
  from chainercv.links.model.faster_rcnn.faster_rcnn import FasterRCNN
  from chainercv.links.model.faster_rcnn.region_proposal_network import RegionProposalNetwork
  from chainercv.links.model.vgg.vgg16 import VGG16
  from chainercv import utils
label_desc: Use image node_id 1 for calling a global function with example usage: _roi_pooling_2d_yx(x, indices_and_rois, outh, outw, spatial_scale) and returns: pool