Skip to content

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

Closed
wants to merge 7 commits into from
Closed

Conversation

vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Jun 20, 2020

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:

  • build the docs on Mac OS
  • verify that every link works as expected

Differential Revision: D22152638

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]
@vkuzo vkuzo requested a review from apaszke as a code owner June 20, 2020 00:02
vkuzo added a commit that referenced this pull request Jun 20, 2020
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-source-id: cb82bab
Pull Request resolved: #40323
@dr-ci
Copy link

dr-ci bot commented Jun 20, 2020

💊 CI failures summary and remediations

As 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.

See how this bot performed.

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
Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor

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]
vkuzo added 3 commits June 22, 2020 14:29
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]
@facebook-github-bot
Copy link
Contributor

@vkuzo merged this pull request in c4594a9.

@facebook-github-bot facebook-github-bot deleted the gh/vkuzo/96/head branch June 27, 2020 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants