

def __init__(self, axis=None, sparse_grad=True):
    super(SpSum, self).__init__()
    self.axis = axis
    self.structured = sparse_grad
    if (self.axis not in (None, 0, 1)):
        raise ValueError('Illegal value for self.axis.')

dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/sparse/basic.py SpSum.__init__/original