code: def test_invalid_outsize_gpu(self):
      with self.assertRaises(ValueError):
          self.check_forward(
              cuda.to_gpu(self.x),
              cuda.to_gpu(self.rois),
              cuda.to_gpu(self.roi_indices),
          )
  
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 4 for calling the TestPSROIAverageAlign2DFailure obj's underlying member method code with example usage: obj.test_invalid_outsize_gpu() without return types