Commit 7c55386b authored by rusty1s's avatar rusty1s
Browse files

typo

parent 496203d8
...@@ -112,7 +112,7 @@ Transposes dimensions 0 and 1 of a sparse matrix. ...@@ -112,7 +112,7 @@ Transposes dimensions 0 and 1 of a sparse matrix.
* **value** *(Tensor)* - The value tensor of sparse matrix. * **value** *(Tensor)* - The value tensor of sparse matrix.
* **m** *(int)* - The first dimension of corresponding dense matrix. * **m** *(int)* - The first dimension of corresponding dense matrix.
* **n** *(int)* - The second dimension of corresponding dense matrix. * **n** *(int)* - The second dimension of corresponding dense matrix.
* **coalesced** *(bool, optional)* - If set to `False`, will not coalesce the output (default: `True`) * **coalesced** *(bool, optional)* - If set to `False`, will not coalesce the output. (default: `True`)
### Returns ### Returns
......
...@@ -11,7 +11,7 @@ def transpose(index, value, m, n, coalesced=True): ...@@ -11,7 +11,7 @@ def transpose(index, value, m, n, coalesced=True):
m (int): The first dimension of corresponding dense matrix. m (int): The first dimension of corresponding dense matrix.
n (int): The second dimension of corresponding dense matrix. n (int): The second dimension of corresponding dense matrix.
coalesced (bool, optional): If set to :obj:`False`, will not coalesce coalesced (bool, optional): If set to :obj:`False`, will not coalesce
the output (default: :obj:`True`) the output. (default: :obj:`True`)
:rtype: (:class:`LongTensor`, :class:`Tensor`) :rtype: (:class:`LongTensor`, :class:`Tensor`)
""" """
......
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