code: def check_type_forward(self, in_types):
      type_check._argname(in_types, ("a", "b"))
      a_type, b_type = in_types
  
      type_check.expect(
          a_type.dtype.kind == "f",
          b_type.dtype.kind == "f",
      )
  
file_path: chainer/chainer/functions/math/tensordot.py
imports: import numpy
  import six
  from chainer import backend
  from chainer import function_node
  from chainer import utils
  from chainer.utils import collections_abc
  from chainer.utils import type_check
label_desc: Use image node_id 2 for calling the TensorDot obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types