-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[docs] Remove input parameter from Tensor.flatten docs
#63180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
**Summary** This commit removes the `input` parameter from the signature for `Tensor.flatten` shown in its documentation. This parameter is accepted by `torch.flatten` but not `Tensor.flatten` (since the input is the `Tensor` on which `flatten` is invoked). **Test Plan** Continuous integration. **Fixes** This commit fixes #57478. [ghstack-poisoned]
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit e30f8ee (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
| Job | Step | Action |
|---|---|---|
| Checkout PyTorch | 🔁 rerun | |
| Download PyTorch Test Reports | 🔁 rerun | |
| Set Up CI Environment After attach_workspace | 🔁 rerun |
1 job timed out:
pytorch_linux_xenial_py3_clang7_asan_test1
This comment was automatically generated by Dr. CI (expand for details).
Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group.
**Summary** This commit removes the `input` parameter from the signature for `Tensor.flatten` shown in its documentation. This parameter is accepted by `torch.flatten` but not `Tensor.flatten` (since the input is the `Tensor` on which `flatten` is invoked). **Test Plan** Continuous integration. **Fixes** This commit fixes #57478. ghstack-source-id: fa37724 Pull Request resolved: #63180
|
@SplitInfinity has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
@SplitInfinity merged this pull request in e5c32cd. |
Summary: Pull Request resolved: #63180 **Summary** This commit removes the `input` parameter from the signature for `Tensor.flatten` shown in its documentation. This parameter is accepted by `torch.flatten` but not `Tensor.flatten` (since the input is the `Tensor` on which `flatten` is invoked). **Test Plan** Continuous integration. **Fixes** This commit fixes #57478. Test Plan: Imported from OSS Reviewed By: VitalyFedyunin Differential Revision: D30293156 Pulled By: SplitInfinity fbshipit-source-id: 4ad70d638af009fb6bdeb703433b306904d39a76
Stack from ghstack:
inputparameter fromTensor.flattendocs #63180Summary
This commit removes the
inputparameter from the signature forTensor.flattenshown in its documentation. This parameter is acceptedby
torch.flattenbut notTensor.flatten(since the input is theTensoron whichflattenis invoked).Test Plan
Continuous integration.
Fixes
This commit fixes #57478.
Differential Revision: D30293156