code: def check_type_forward(self, in_types):
      type_check.expect(in_types.size() == 2)
      x_type, w_type = in_types
      type_check.expect(
          x_type.dtype.kind == "i",
          x_type.ndim >= 1,
      )
      type_check.expect(w_type.dtype == numpy.float32, w_type.ndim == 2)
  
imports: import chainer
  import numpy
  from chainer import cuda, function_node, link, variable
  from chainer.initializers import normal
  from chainer.utils import type_check
label_desc: Use image node_id 2 for calling the EmbedIDFunction obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types