pytorch
619d52a5 - Make torch.device usable as a context manager (#91525)

Commit
1 year ago
Make torch.device usable as a context manager (#91525) Fixes https://github.com/pytorch/pytorch/issues/82296 Fixes https://github.com/pytorch/pytorch/issues/27878 Fixes https://github.com/pytorch/pytorch/issues/260 Signed-off-by: Edward Z. Yang <ezyang@fb.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/91525 Approved by: https://github.com/albanD
Author
Committer
Parents
Loading