Example #1
0
File: csc.py Project: tkerola/cupy
 def _add_sparse(self, other, alpha, beta):
     self.sum_duplicates()
     other.sum_duplicates()
     return cusparse.csrgeam(self.T, other.tocsc().T, alpha, beta).T
Example #2
0
 def _add_sparse(self, other, alpha, beta):
     return cusparse.csrgeam(self.T, other.tocsc().T, alpha, beta).T