def check_type_forward(self, in_types):
        type_check.expect(in_types.size() == 1)
        x_type, = in_types

        type_check.expect(
            x_type.dtype == numpy.float32,
            x_type.ndim > 1,
        )
dataset/ETHPy150Open pfnet/chainer/chainer/functions/activation/softmax.py/Softmax.check_type_forward/original