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.kind == "f", w_type.ndim == 2)
  
imports: import numpy
  import six
  import chainer
  from chainer import backend
  from chainer.backends import cuda
  from chainer import function_node
  from chainer import utils
  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