fix typo in argmax docstring (#55239)

Summary:
argmax docstring previously said that it returns indexes of the first 'minimal' value, fixed typo in that line to 'maximal'

Pull Request resolved: https://github.com/pytorch/pytorch/pull/55239

Reviewed By: albanD

Differential Revision: D27641562

Pulled By: mrshenli

fbshipit-source-id: f8b5c579400088b5210c83a05da6c4c106fbf95d
This commit is contained in:
ACactUs 2021-04-12 10:36:24 -07:00 committed by Facebook GitHub Bot
parent c91cf1e7a9
commit 80d04f910c

View file

@ -5206,7 +5206,7 @@ Returns the indices of the maximum value of all elements in the :attr:`input` te
This is the second value returned by :meth:`torch.max`. See its
documentation for the exact semantics of this method.
.. note:: If there are multiple minimal values then the indices of the first minimal value are returned.
.. note:: If there are multiple maximal values then the indices of the first maximal value are returned.
Args:
{input}