Skip to content

Commit e6e08df

Browse files
committed
update sparse doc
1 parent c07d407 commit e6e08df

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

aten/src/ATen/native/native_functions.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1960,7 +1960,6 @@
19601960
CUDA: s_addmm_sparse_dense_cuda_
19611961

19621962
- func: _sparse_addmm(Tensor self, Tensor sparse, Tensor dense, *, Scalar beta=1, Scalar alpha=1) -> Tensor
1963-
variants: function
19641963

19651964
- func: addmm_out(Tensor result, Tensor self, Tensor mat1, Tensor mat2, *, Scalar beta=1, Scalar alpha=1) -> Tensor
19661965

docs/source/sparse.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ An empty sparse tensor can be constructed by specifying its size:
101101

102102
.. method:: add
103103
.. method:: add_
104-
.. automethod:: addmm
105104
.. method:: clone
106105
.. method:: dim
107106
.. method:: div
@@ -130,3 +129,8 @@ An empty sparse tensor can be constructed by specifying its size:
130129
.. method:: _indices
131130
.. method:: _values
132131
.. method:: _nnz
132+
133+
Functions
134+
=============
135+
136+
.. autofunction:: torch.sparse.addmm

0 commit comments

Comments
 (0)