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