mirror of
https://github.com/pytorch/pytorch.git
synced 2026-11-20 09:04:25 +08:00
Fix typos under docs directory (#88033)
This PR fixes typos in `.rst` and `.Doxyfile` files under docs directory Pull Request resolved: https://github.com/pytorch/pytorch/pull/88033 Approved by: https://github.com/soulitzer
This commit is contained in:
committed by
PyTorch MergeBot
parent
c7ac333430
commit
7d2f1cd211
@@ -144,7 +144,7 @@ CUDA Stream Usage Examples
|
||||
// sum() on tensor0 use `myStream0` as current CUDA stream on device 0
|
||||
tensor0.sum();
|
||||
|
||||
// change the current device index to 1 by using CUDA device guard within a braket scope
|
||||
// change the current device index to 1 by using CUDA device guard within a bracket scope
|
||||
{
|
||||
at::cuda::CUDAGuard device_guard{1};
|
||||
// create a tensor on device 1
|
||||
|
||||
Reference in New Issue
Block a user