def squeeze(a, axis=None):
    # TODO(okuta): check type
    return a.squeeze(axis)
Removes size-one axes from the shape of an array.
dataset/ETHPy150Open pfnet/chainer/cupy/manipulation/dims.py/squeeze