class_docstr: RoI pooling over a set of 2d planes.
class_docstr_tok: ["RoI","pooling","over","a","set","of","2d","planes","."]
code: def check_type_forward(self, in_types):
      type_check.expect(in_types.size() == 2)
  
      x_type, roi_type = in_types
      type_check.expect(
          x_type.dtype.kind == "f",
          x_type.ndim == 4,
          x_type.dtype == roi_type.dtype,
          roi_type.ndim == 2,
          roi_type.shape[1] == 5,
      )
  
imports: import numpy
  import six
  from chainer.backends import cuda
  from chainer import function_node
  from chainer.utils import type_check
label_desc: Use image node_id 2 for calling the ROIPooling2D obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types