Unverified Commit 44bcb3f8 authored by czkkkkkk's avatar czkkkkkk Committed by GitHub
Browse files

[Doc] Cleanup DiagMatrix related definitions. (#5836)

parent b6f774cd
...@@ -33,6 +33,8 @@ Creation Ops ...@@ -33,6 +33,8 @@ Creation Ops
from_coo from_coo
from_csr from_csr
from_csc from_csc
diag
identity
Attributes and methods Attributes and methods
`````````````````````` ``````````````````````
...@@ -71,47 +73,6 @@ Attributes and methods ...@@ -71,47 +73,6 @@ Attributes and methods
SparseMatrix.smean SparseMatrix.smean
SparseMatrix.softmax SparseMatrix.softmax
Diagonal matrix class
-------------------------
.. currentmodule:: dgl.sparse
.. class:: DiagMatrix
Creators
````````
.. autosummary::
:toctree: ../../generated/
diag
identity
Attributes and methods
``````````````````````
.. autosummary::
:toctree: ../../generated/
DiagMatrix.shape
DiagMatrix.nnz
DiagMatrix.dtype
DiagMatrix.device
DiagMatrix.val
DiagMatrix.to_sparse
DiagMatrix.to_dense
DiagMatrix.to
DiagMatrix.cuda
DiagMatrix.cpu
DiagMatrix.float
DiagMatrix.double
DiagMatrix.int
DiagMatrix.long
DiagMatrix.transpose
DiagMatrix.t
DiagMatrix.T
DiagMatrix.neg
DiagMatrix.inv
Operators Operators
--------- ---------
.. currentmodule:: dgl.sparse .. currentmodule:: dgl.sparse
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment