pytorch
33404436 - [doc] Add pin_memory and layout to new_{zeros, ones, full} (#85605)

Commit
3 years ago
[doc] Add pin_memory and layout to new_{zeros, ones, full} (#85605) Fixes #84986 Besides adding `pin_memory` and `layout`, I have also updated the signature to reflect keyword only arguments. Pull Request resolved: https://github.com/pytorch/pytorch/pull/85605 Approved by: https://github.com/lezcano, https://github.com/SherlockNoMad
Author
Committer
Parents
Loading