dgl.sparse.sp_sub_v

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

Broadcast substraction for sparse matrix and vector.

See the definition of sp_broadcast_v() for details.