class_docstr: Select index of an array element from a given axis.
code: def check_type_forward(self, in_types):
      type_check.expect(
          in_types.size() == 1, in_types[0].dtype.kind == "f"
      )
  
      if self.axis is not None:
          if self.axis >= 0:
              type_check.expect(
                  self.axis < in_types[0].ndim,
              )
          else:
              type_check.expect(
                  -self.axis - 1 < in_types[0].ndim,
              )
  
imports: import numpy
  import six
  from chainer import backend
  from chainer import function_node
  import chainer.functions
  import chainer.utils
  from chainer.utils import type_check
  import chainerx
label_desc: Use image node_id 3 for calling the IndexSelectorBase obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types