示例#1
0
文件: csc.py 项目: 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
示例#2
0
 def _add_sparse(self, other, alpha, beta):
     return cusparse.csrgeam(self.T, other.tocsc().T, alpha, beta).T