docs: Match open bracket with close bracket in unsqueeze (#95215)

Was going to fix something else that I thought was an issue, but isn't, so just leaving this tiny thing in case it's wanted
Pull Request resolved: https://github.com/pytorch/pytorch/pull/95215
Approved by: https://github.com/Skylion007, https://github.com/kit1980
This commit is contained in:
Connor Henderson
2023-02-24 03:56:56 +00:00
committed by PyTorch MergeBot
parent 6665fe9e65
commit 9d04d376d8

View File

@ -12051,7 +12051,7 @@ specified position.
The returned tensor shares the same underlying data with this tensor.
A :attr:`dim` value within the range ``[-input.dim() - 1, input.dim() + 1)``
A :attr:`dim` value within the range ``[-input.dim() - 1, input.dim() + 1]``
can be used. Negative :attr:`dim` will correspond to :meth:`unsqueeze`
applied at :attr:`dim` = ``dim + input.dim() + 1``.