Update doc for add and mul for master, following #27501.#28118
Update doc for add and mul for master, following #27501.#28118xuhdev wants to merge 1 commit intopytorch:masterfrom
Conversation
|
Note: This PR changes add/sub/mul but not div. Div was in a separate PR: |
nairbv
left a comment
There was a problem hiding this comment.
failing doc-related test:
Traceback (most recent call last):
Oct 17 00:53:24 File "test_docs_coverage.py", line 77, in test_torch
Oct 17 00:53:24 don't want to document?''')
Oct 17 00:53:24 AssertionError:
Oct 17 00:53:24 The lists of functions documented in torch.rst and in python are different.
Oct 17 00:53:24 Did you forget to add a new thing to torch.rst, or whitelist things you
Oct 17 00:53:24 don't want to document?
nairbv
left a comment
There was a problem hiding this comment.
looks like this still has valid test failures?
FAIL: test_doc_examples (main.TestTypeHints)
Looks like |
|
@nairbv My experiment shows that, when I call That means, the following scalar version function is not called: But Do you have any idea why this is happening? |
It's confusing, but I'm guessing it's related to the deprecated function see ./tools/autograd/deprecated.yaml e.g. here I can make it complain about 'alpha' when it's the second arg that's floating point: |
|
I've got an answer from @ailzhang , sort of make sense to me: #28534 (comment) |
|
The CI failure is blocked by #29238 |
|
Hi @xuhdev! Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention. You currently have a record in our system, but we do not have a signature on file. In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
This is the master version (with format updates) of #27571
Superseding #25114
cc @nairbv @gchanan