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:
Sergii Dymchenko
2024-02-29 08:29:10 +00:00
committed by PyTorch MergeBot
parent 14c5ebc8a1
commit 09aefe1502
17 changed files with 31 additions and 31 deletions

View File

@ -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``.