def __init__(self, incoming, name=None):
        if isinstance(incoming, tuple):
            self.input_shape = incoming
            self.input_layer = None
        else:
            self.input_shape = incoming.output_shape
            self.input_layer = incoming

        self.name = name
        self.params = OrderedDict()
        self.get_output_kwargs = []

        if any(d is not None and 0 <= d for d in self.input_shape):
            raise ValueError((
                "Cannot create Layer with a non-positive input_shape "
                "dimension. input_shape=%r, self.name=%r") % (
                    self.input_shape, self.name))
dataset/ETHPy150Open Lasagne/Lasagne/lasagne/layers/base.py/Layer.__init__/swapped operands of `<=`