def sp_sum(x, axis=None, sparse_grad=False):
 return SpSum(axis, sparse_grad)(x)

def sp_sum ( x , axis = None , sparse_grad = False ) : return SpSum ( axis , sparse_grad ) ( x )
calculate the sum of a sparse matrix along the specified axis .