Fix some typos.

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/75561
Approved by: https://github.com/albanD
This commit is contained in:
Yulv-git
2022-04-11 21:55:59 +00:00
committed by PyTorch MergeBot
parent 8e365fabc9
commit ac2d2e3a3d
28 changed files with 32 additions and 32 deletions

View File

@ -23,7 +23,7 @@ import java.util.Locale;
* methods.
*
* <p>When constructing {@code Tensor} objects with {@code data} as an array, it is not specified
* whether this data is is copied or retained as a reference so it is recommended not to modify it
* whether this data is copied or retained as a reference so it is recommended not to modify it
* after constructing. {@code data} passed as a {@link Buffer} is not copied, so it can be modified
* between {@link Module} calls to avoid reallocation. Data retrieved from {@code Tensor} objects
* may be copied or may be a reference to the {@code Tensor}'s internal data buffer. {@code shape}