@@ -63,15 +63,15 @@ For scattering, any operation of [`torch_scatter`](https://github.com/rusty1s/py
6363
6464* ** index** * (LongTensor)* - The index tensor of sparse matrix.
6565* ** value** * (Tensor)* - The value tensor of sparse matrix.
66- * ** m** * (int)* - First dimension of sparse matrix.
67- * ** n** * (int)* - Second dimension of sparse matrix.
68- * ** op** * (string, optional)* - Scatter operation to use. (default: ` "add" ` )
69- * ** fill_value** * (int, optional)* - Initial fill value of scatter operation. (default: ` 0 ` )
66+ * ** m** * (int)* - The first dimension of sparse matrix.
67+ * ** n** * (int)* - The second dimension of sparse matrix.
68+ * ** op** * (string, optional)* - The scatter operation to use. (default: ` "add" ` )
69+ * ** fill_value** * (int, optional)* - The initial fill value of scatter operation. (default: ` 0 ` )
7070
7171### Returns
7272
73- * ** index** * (LongTensor)* - Coalesced index tensor of sparse matrix.
74- * ** value** * (Tensor)* - Coalesced value tensor of sparse matrix.
73+ * ** index** * (LongTensor)* - The coalesced index tensor of sparse matrix.
74+ * ** value** * (Tensor)* - The coalesced value tensor of sparse matrix.
7575
7676### Example
7777
@@ -105,13 +105,13 @@ Transposes dimensions 0 and 1 of a sparse matrix.
105105
106106* ** index** * (LongTensor)* - The index tensor of sparse matrix.
107107* ** value** * (Tensor)* - The value tensor of sparse matrix.
108- * ** m** * (int)* - First dimension of sparse matrix.
109- * ** n** * (int)* - Second dimension of sparse matrix.
108+ * ** m** * (int)* - The first dimension of sparse matrix.
109+ * ** n** * (int)* - The second dimension of sparse matrix.
110110
111111### Returns
112112
113- * ** index** * (LongTensor)* - Transposed index tensor of sparse matrix.
114- * ** value** * (Tensor)* - Transposed value tensor of sparse matrix.
113+ * ** index** * (LongTensor)* - The transposed index tensor of sparse matrix.
114+ * ** value** * (Tensor)* - The transposed value tensor of sparse matrix.
115115
116116### Example
117117
@@ -122,7 +122,7 @@ index = torch.tensor([[1, 0, 1, 0, 2, 1],
122122 [0 , 1 , 1 , 1 , 0 , 0 ]])
123123value = torch.tensor([[1 , 2 ], [2 , 3 ], [3 , 4 ], [4 , 5 ], [5 , 6 ], [6 , 7 ]])
124124
125- index, value = transpose(index, value, m = 3 , n = 2 )
125+ index, value = transpose(index, value, 3 , 2 )
126126```
127127
128128```
@@ -148,12 +148,12 @@ Matrix product of a sparse matrix with a dense matrix.
148148
149149* ** index** * (LongTensor)* - The index tensor of sparse matrix.
150150* ** value** * (Tensor)* - The value tensor of sparse matrix.
151- * ** m** * (int)* - First dimension of sparse matrix.
152- * ** matrix** * (int )* - Dense matrix.
151+ * ** m** * (int)* - The first dimension of sparse matrix.
152+ * ** matrix** * (Tensor )* - The dense matrix.
153153
154154### Returns
155155
156- * ** out** * (Tensor)* - Dense output matrix.
156+ * ** out** * (Tensor)* - The dense output matrix.
157157
158158### Example
159159
@@ -190,14 +190,14 @@ Both input sparse matrices need to be **coalesced**.
190190* ** valueA** * (Tensor)* - The value tensor of first sparse matrix.
191191* ** indexB** * (LongTensor)* - The index tensor of second sparse matrix.
192192* ** valueB** * (Tensor)* - The value tensor of second sparse matrix.
193- * ** m** * (int)* - First dimension of first sparse matrix.
194- * ** k** * (int)* - Second dimension of first sparse matrix and first dimension of second sparse matrix.
195- * ** n** * (int)* - Second dimension of second sparse matrix.
193+ * ** m** * (int)* - The first dimension of first sparse matrix.
194+ * ** k** * (int)* - The second dimension of first sparse matrix and first dimension of second sparse matrix.
195+ * ** n** * (int)* - The second dimension of second sparse matrix.
196196
197197### Returns
198198
199- * ** index** * (LongTensor)* - Output index tensor of sparse matrix.
200- * ** value** * (Tensor)* - Output value tensor of sparse matrix.
199+ * ** index** * (LongTensor)* - The output index tensor of sparse matrix.
200+ * ** value** * (Tensor)* - The output value tensor of sparse matrix.
201201
202202### Example
203203
0 commit comments