dgl.sparse.sp_sub_vΒΆ

dgl.sparse.sp_sub_v(A: dgl.sparse.sparse_matrix.SparseMatrix, v: torch.Tensor)dgl.sparse.sparse_matrix.SparseMatrix[source]ΒΆ

Broadcast substraction for sparse matrix and vector.

See the definition of sp_broadcast_v() for details.