mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Fix ouput typos (#120870)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/120870 Approved by: https://github.com/clee2000
This commit is contained in:
committed by
PyTorch MergeBot
parent
14c5ebc8a1
commit
09aefe1502
@ -1707,7 +1707,7 @@ def unravel_index(indices: Tensor, shape: Union[int, Sequence[int], torch.Size])
|
||||
tensor. All elements must be non-negative.
|
||||
|
||||
Returns:
|
||||
tuple of Tensors: Each ``i``-th tensor in the ouput corresponds with
|
||||
tuple of Tensors: Each ``i``-th tensor in the output corresponds with
|
||||
dimension ``i`` of :attr:`shape`. Each tensor has the same shape as
|
||||
``indices`` and contains one index into dimension ``i`` for each of the
|
||||
flat indices given by ``indices``.
|
||||
|
Reference in New Issue
Block a user