Commit 8d7faa2
Summary:
Update _torch_docs.py to close #56240.
Added the "generator" argument to the docs of torch.rand and torch.randn.
Fixes #56240
Pull Request resolved: #56242
Reviewed By: ejguan
Differential Revision: D27821513
Pulled By: agolynski
fbshipit-source-id: e42c431eddc7a83bd1c1ea368a2effbe3f10e92e
1 parent 0dc6e7a commit 8d7faa2
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7007 | 7007 | | |
7008 | 7008 | | |
7009 | 7009 | | |
| 7010 | + | |
7010 | 7011 | | |
7011 | 7012 | | |
7012 | 7013 | | |
| |||
7133 | 7134 | | |
7134 | 7135 | | |
7135 | 7136 | | |
| 7137 | + | |
7136 | 7138 | | |
7137 | 7139 | | |
7138 | 7140 | | |
| |||
0 commit comments