code: def check_type_forward(self, in_types):
      type_check.expect(in_types.size() == 3)
  
      x_type, roi_type, roi_index_type = in_types
      type_check.expect(
          x_type.dtype == np.float32,
          x_type.ndim == 4,
          roi_type.dtype == np.float32,
          roi_type.ndim == 2,
          roi_type.shape[1] == 4,
          roi_index_type.dtype == np.int32,
          roi_index_type.ndim == 1,
          roi_type.shape[0] == roi_index_type.shape[0],
      )
  
file_path: chainercv/chainercv/functions/ps_roi_average_pooling_2d.py
imports: from __future__ import division
  import numbers
  import numpy
  import six
  import chainer
  from chainer.backends import cuda
  from chainer import function
  from chainer.utils import type_check
label_desc: Use image node_id 2 for calling the PSROIAveragePooling2D obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types