

def __init__(self, incoming, op, shape_op=(lambda x: x), extras=None, **kwargs):
    if (extras is None):
        extras = []
    incomings = ([incoming] + extras)
    super(OpLayer, self).__init__(incomings, **kwargs)
    self.op = op
    self.shape_op = shape_op
    self.incomings = incomings

dataset/ETHPy150Open rllab/rllab/rllab/core/lasagne_layers.py OpLayer.__init__/original