code: def check_type_forward(self, in_types):
      type_check._argname(in_types, ("theta",))
  
      theta_type = in_types[0]
      type_check.expect(
          theta_type.dtype.kind == "f",
          theta_type.ndim == 3,
          theta_type.shape[1] == 2,
          theta_type.shape[2] == 3,
      )
  
file_path: chainer/chainer/functions/array/spatial_transformer_grid.py
imports: import numpy
  import chainer
  from chainer import backend
  from chainer.backends import cuda
  from chainer import function
  from chainer.utils import argument
  from chainer.utils import type_check
label_desc: Use image node_id 2 for calling the SpatialTransformerGrid obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types