mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
committed by
PyTorch MergeBot
parent
6665fe9e65
commit
9d04d376d8
@ -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``.
|
||||
|
||||
|
Reference in New Issue
Block a user