

def perform(self, node, inputs, outputs):
    (x,) = inputs
    (z,) = outputs
    if (self.axis is None):
        z[0] = numpy.asarray(node.sum())
    else:
        z[0] = numpy.asarray(x.sum(self.axis)).ravel()

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py SpSum.perform/VarMisuse@50/53 `x`->`node`