code: def check_type_forward(self, in_types):
      n_in = in_types.size()
      type_check.expect(2 <= n_in, n_in <= 3)
      x_type, w_type = in_types[:2]
  
      type_check.expect(
          x_type.dtype.kind == "f",
          w_type.dtype.kind == "f",
          x_type.ndim == 4,
          w_type.ndim == 6,
          x_type.shape[1] == w_type.shape[3],
      )
      if type_check.eval(n_in) == 3:
          b_type = in_types[2]
          type_check.expect(
              b_type.dtype == x_type.dtype,
              b_type.ndim == 3,
              b_type.shape == w_type.shape[:3],
          )
  
file_path: chainer/chainer/functions/connection/local_convolution_2d.py
imports: from six import moves
  import chainer
  from chainer import backend
  from chainer import function_node
  from chainer.utils import type_check
  from chainer import variable
label_desc: Use image node_id 2 for calling the LocalConvolution2DFunction obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types