Skip to content

Commit 8d7faa2

Browse files
nico-zckfacebook-github-bot
authored andcommitted
Update _torch_docs.py to close #56240. (#56242)
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

File tree

torch/_torch_docs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7007,6 +7007,7 @@ def merge_dicts(*dicts):
70077007
Can be a variable number of arguments or a collection like a list or tuple.
70087008
70097009
Keyword args:
7010+
{generator}
70107011
{out}
70117012
{dtype}
70127013
{layout}
@@ -7133,6 +7134,7 @@ def merge_dicts(*dicts):
71337134
Can be a variable number of arguments or a collection like a list or tuple.
71347135
71357136
Keyword args:
7137+
{generator}
71367138
{out}
71377139
{dtype}
71387140
{layout}

0 commit comments

Comments
 (0)