def __init__(self, newshape):
        if not isinstance(newshape, tuple):
            if hasattr(newshape, '__iter__'):
                newshape = tuple(newshape)
            else:
                newshape = (newshape,)
        if not list(newshape).count(-1) <= 1 <= 0:
            raise ValueError('invalid newshape: %s' % newshape)
        self.newshape = newshape
dataset/ETHPy150Open andersbll/deeppy/deeppy/expr/array.py/Reshape.__init__/swapped operands of `<=`