code: def check_forward(self, x_data, roi_data, roi_index_data):
      x = chainer.Variable(x_data)
      rois = chainer.Variable(roi_data)
      roi_indices = chainer.Variable(roi_index_data)
      functions.ps_roi_average_align_2d(
          x,
          rois,
          roi_indices,
          self.outsize,
          self.spatial_scale,
          self.group_size,
      )
  
imports: import chainer
  from chainer.backends import cuda
  from chainer import gradient_check
  from chainer import testing
  from chainer.testing import attr
  from chainer.testing import condition
  import numpy
  import unittest
  from chainercv import functions
  from tests.functions_tests.test_ps_roi_average_pooling_2d import _outsize
label_desc: Use image node_id 2 for calling the TestPSROIAverageAlign2DFailure obj's underlying member method code with example usage: obj.check_forward(x_data, roi_data, roi_index_data) without return types