def test_get_output_for(self, layer):
        a = numpy.array([[0, 1], [2, 3]])
        b = numpy.array([[1, 2], [4, 5]])
        inputs = [theano.shared(a),
                  theano.shared(b)]
        result = layer.get_output_for(inputs)
        result_eval = result.eval()
        desired_result = 2*a - b
        assert (result_eval == desired_result).all()
dataset/ETHPy150Open Lasagne/Lasagne/lasagne/tests/layers/test_merge.py/TestElemwiseSumLayer.test_get_output_for/original