Skip to content

Commit

Permalink
[Sparse] Fix sddmm docstring (dmlc#5169)
Browse files Browse the repository at this point in the history
  • Loading branch information
czkkkkkk authored Jan 13, 2023
1 parent 85bd0cd commit 1d1b08b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/dgl/sparse/sddmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ def sddmm(
) -> SparseMatrix:
r"""Sampled-Dense-Dense Matrix Multiplication (SDDMM).
``sddmm`` multiplies two dense matrices :attr:`mat1` and :attr:`mat2`
at the nonzero locations of sparse matrix :attr:`A`. Values of :attr:`A`
is not considered during the computation.
``sddmm`` matrix-multiplies two dense matrices :attr:`mat1` and :attr:`mat2`
, then elementwise-multiplies the result with sparse matrix :attr:`A` at the
nonzero locations.
Mathematically ``sddmm`` is formulated as:
Expand Down

0 comments on commit 1d1b08b

Please sign in to comment.