mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix typos in meta.rst (#151979)
### Fixes made: - "allow you to the module" → corrected to "allows you to move the module" - "allow" → changed to "allows" to agree with the singular subject "method" Pull Request resolved: https://github.com/pytorch/pytorch/pull/151979 Approved by: https://github.com/colesbury
This commit is contained in:
committed by
PyTorch MergeBot
parent
4e1d4333f7
commit
f39a1a43ee
@ -68,7 +68,7 @@ Use a factory function like :func:`torch.empty_like` to explicitly specify how
|
||||
you would like the missing data to be filled in.
|
||||
|
||||
NN modules have a convenience method :meth:`torch.nn.Module.to_empty` that
|
||||
allow you to the module to another device, leaving all parameters
|
||||
allows you to move the module to another device, leaving all parameters
|
||||
uninitialized. You are expected to explicitly reinitialize the parameters
|
||||
manually::
|
||||
|
||||
|
Reference in New Issue
Block a user