-
Notifications
You must be signed in to change notification settings - Fork 24.9k
quant docs: clean up hardswish #40323
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
Cleans up the naming and the function param docs for quantized hardswish. Remove redundant docstrings and link to floating point modules instead. Test plan: * build the docs on Mac OS * verify that every link works as expected [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit f7bad97 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 16 times. |
@@ -193,7 +193,7 @@ Basic activations are supported. | |||
* :meth:`~torch.nn.functional.adaptive_avg_pool2d` - Adaptive average pooling | |||
* :meth:`~torch.nn.functional.avg_pool2d` - Average pooling | |||
* :meth:`~torch.nn.functional.interpolate` - Interpolation | |||
* :meth:`~torch.nn.functional.hardswish` - Hard Swish | |||
* :meth:`~torch.nn.functional.hardswish` - Hardswish |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually why are these method? I feel it makes more sense for these to be func
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if there is any difference in the generated docs. If this is important, might be good to be a separate PR on the entire file, so that it's consistent within the file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, it should be changed in a separate PR I think
Cleans up the naming and the function param docs for quantized hardswish. Remove redundant docstrings and link to floating point modules instead. Test plan: * build the docs on Mac OS * verify that every link works as expected [ghstack-poisoned]
Cleans up the naming and the function param docs for quantized hardswish. Remove redundant docstrings and link to floating point modules instead. Test plan: * build the docs on Mac OS * verify that every link works as expected [ghstack-poisoned]
Cleans up the naming and the function param docs for quantized hardswish. Remove redundant docstrings and link to floating point modules instead. Test plan: * build the docs on Mac OS * verify that every link works as expected Differential Revision: [D22152638](https://our.internmc.facebook.com/intern/diff/D22152638) [ghstack-poisoned]
Cleans up the naming and the function param docs for quantized hardswish. Remove redundant docstrings and link to floating point modules instead. Test plan: * build the docs on Mac OS * verify that every link works as expected Differential Revision: [D22152638](https://our.internmc.facebook.com/intern/diff/D22152638) [ghstack-poisoned]
Cleans up the naming and the function param docs for quantized hardswish. Remove redundant docstrings and link to floating point modules instead. Test plan: * build the docs on Mac OS * verify that every link works as expected Differential Revision: [D22152638](https://our.internmc.facebook.com/intern/diff/D22152638) [ghstack-poisoned]
Cleans up the naming and the function param docs for quantized hardswish. Remove redundant docstrings and link to floating point modules instead. Test plan: * build the docs on Mac OS * verify that every link works as expected Differential Revision: [D22152638](https://our.internmc.facebook.com/intern/diff/D22152638) [ghstack-poisoned]
Stack from ghstack:
Cleans up the naming and the function param docs for quantized hardswish.
Remove redundant docstrings and link to floating point modules instead.
Test plan:
Differential Revision: D22152638