

def infer_shape(self, node, shapes):
    r = None
    if (self.axis is None):
        r = [()]
    elif (r.axis == 0):
        r = [(shapes[0][1],)]
    else:
        r = [(shapes[0][0],)]
    return r

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py SpSum.infer_shape/VarMisuse@39/42 `self`->`r`