code: def check_type_forward(self, in_types):
      type_check._argname(in_types, ("x",))
      type_check.expect(in_types[0].dtype.kind == "f")
  
      if self.axis is not None:
          for axis in self.axis:
              if axis >= 0:
                  type_check.expect(
                      axis < in_types[0].ndim,
                  )
              else:
                  type_check.expect(
                      -axis - 1 < in_types[0].ndim,
                  )
  
file_path: chainer/chainer/functions/math/logsumexp.py
imports: import six
  import chainer
  from chainer import backend
  from chainer import function_node
  from chainer import utils
  from chainer.utils import type_check
  import chainerx
label_desc: Use image node_id 2 for calling the LogSumExp obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types