class_docstr: Remove dimensions of size one from the shape of a ndarray.
class_docstr_tok: ["Remove","dimensions","of","size","one","from","the","shape","of","a","ndarray","."]
code: def check_type_forward(self, in_types):
      type_check.expect(in_types.size() == 1)
      x_type = in_types[0]
  
      if self.axis is not None:
          for x in self.axis:
              if x >= 0:
                  type_check.expect(x < x_type.ndim)
              else:
                  type_check.expect(-x_type.ndim <= x)
  
file_path: chainer/chainer/functions/array/squeeze.py
imports: import six
  from chainer import backend
  from chainer import function_node
  from chainer.utils import type_check
label_desc: Use image node_id 2 for calling the Squeeze obj's underlying member method code with example usage: obj.check_type_forward(in_types) without return types