dgl.sparse.sp_add_v

dgl.sparse.sp_add_v(A: SparseMatrix, v: Tensor) SparseMatrix[source]

稀疏矩阵与向量的广播加法。

详情请参见 sp_broadcast_v() 的定义。