Skip to content
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

fx quant: add more typehints #48774

Closed
wants to merge 1 commit into from
Closed

Conversation

vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Dec 3, 2020

Stack from ghstack:

Summary:

Adds some more typehints throughout quantization/fx/quantize.py.

More are needed, ran out of time for now, we can continue in
future PRs.

Test Plan:

mypy torch/quantization/fx/quantize.py

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D25295836

Summary:

Adds some more typehints throughout `quantization/fx/quantize.py`.

More are needed, ran out of time for now, we can continue in
future PRs.

Test Plan:

```
mypy torch/quantization/fx/quantize.py
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
vkuzo added a commit that referenced this pull request Dec 3, 2020
Summary:

Adds some more typehints throughout `quantization/fx/quantize.py`.

More are needed, ran out of time for now, we can continue in
future PRs.

Test Plan:

```
mypy torch/quantization/fx/quantize.py
```

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 6953ed5e502fe72e302b6ea07eba6977e3e50cfa
Pull Request resolved: #48774
@codecov
Copy link

codecov bot commented Dec 3, 2020

Codecov Report

Merging #48774 (cc25808) into gh/vkuzo/176/base (233e1a3) will increase coverage by 0.13%.
The diff coverage is 92.85%.

@@                  Coverage Diff                  @@
##           gh/vkuzo/176/base   #48774      +/-   ##
=====================================================
+ Coverage              80.59%   80.73%   +0.13%     
=====================================================
  Files                   1863     1863              
  Lines                 200876   200895      +19     
=====================================================
+ Hits                  161905   162187     +282     
+ Misses                 38971    38708     -263     

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f5bcf45.

@facebook-github-bot facebook-github-bot deleted the gh/vkuzo/176/head branch December 7, 2020 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants