Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
1d1b08b0
Unverified
Commit
1d1b08b0
authored
Jan 13, 2023
by
czkkkkkk
Committed by
GitHub
Jan 13, 2023
Browse files
[Sparse] Fix sddmm docstring (#5169)
parent
85bd0cde
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
python/dgl/sparse/sddmm.py
python/dgl/sparse/sddmm.py
+3
-3
No files found.
python/dgl/sparse/sddmm.py
View file @
1d1b08b0
...
...
@@ -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 comput
ation.
``sddmm``
matrix-
multiplies two dense matrices :attr:`mat1` and :attr:`mat2`
,
the
n elementwise-multiplies the result with
sparse matrix :attr:`A`
at the
nonzero loc
ation
s
.
Mathematically ``sddmm`` is formulated as:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment