-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[mobile][quantization] Add quantized torch mean implementation #27675
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
supriyar
added a commit
that referenced
this pull request
Oct 10, 2019
Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: ae365b9 Pull Request resolved: #27675
…tion" Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
supriyar
added a commit
that referenced
this pull request
Oct 11, 2019
Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 4e0069e Pull Request resolved: #27675
…tion" Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
supriyar
added a commit
that referenced
this pull request
Oct 14, 2019
Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 81a73df Pull Request resolved: #27675
ljk53
approved these changes
Oct 16, 2019
ljk53
suggested changes
Oct 16, 2019
…tion" Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
supriyar
added a commit
that referenced
this pull request
Oct 17, 2019
Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 8e7ec14 Pull Request resolved: #27675
…tion" Stack from [ghstack](https://github.com/ezyang/ghstack): * **#27675 [mobile][quantization] Add quantized torch mean implementation** Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D17989336](https://our.internmc.facebook.com/intern/diff/D17989336) [ghstack-poisoned]
supriyar
added a commit
that referenced
this pull request
Oct 18, 2019
… mean implementation" Stack from [ghstack](https://github.com/ezyang/ghstack): * **#27675 [mobile][quantization] Add quantized torch mean implementation** Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D17989336](https://our.internmc.facebook.com/intern/diff/D17989336) [ghstack-poisoned]
supriyar
added a commit
that referenced
this pull request
Oct 18, 2019
Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQNNPackOps.test_mean Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: ee081fe Pull Request resolved: #27675
ljk53
approved these changes
Oct 18, 2019
…tion" Stack from [ghstack](https://github.com/ezyang/ghstack): * **#27675 [mobile][quantization] Add quantized torch mean implementation** Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D17989336](https://our.internmc.facebook.com/intern/diff/D17989336) [ghstack-poisoned]
supriyar
added a commit
that referenced
this pull request
Oct 18, 2019
… mean implementation" Stack from [ghstack](https://github.com/ezyang/ghstack): * **#27675 [mobile][quantization] Add quantized torch mean implementation** Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D17989336](https://our.internmc.facebook.com/intern/diff/D17989336) [ghstack-poisoned]
…tion" Stack from [ghstack](https://github.com/ezyang/ghstack): * **#27675 [mobile][quantization] Add quantized torch mean implementation** Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D17989336](https://our.internmc.facebook.com/intern/diff/D17989336) [ghstack-poisoned]
supriyar
added a commit
that referenced
this pull request
Oct 19, 2019
… mean implementation" Stack from [ghstack](https://github.com/ezyang/ghstack): * **#27675 [mobile][quantization] Add quantized torch mean implementation** Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D17989336](https://our.internmc.facebook.com/intern/diff/D17989336) [ghstack-poisoned]
supriyar
added a commit
that referenced
this pull request
Oct 19, 2019
Summary: This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQNNPackOps.test_mean Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: bf7b718 Pull Request resolved: #27675
zdevito
pushed a commit
to zdevito/ATen
that referenced
this pull request
Oct 20, 2019
Summary: Pull Request resolved: pytorch/pytorch#27675 This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Imported from OSS Differential Revision: D17989336 fbshipit-source-id: 8d4cbcbed5f146290b1580d26e5b45359d293761
Contributor
|
This pull request has been merged in 15be189. |
thiagocrepaldi
pushed a commit
to thiagocrepaldi/pytorch
that referenced
this pull request
Feb 4, 2020
Summary: Pull Request resolved: pytorch#27675 This leverages QNNPACK global average pooling to perform torch.mean on input feature maps Currently can only support mean along HxW plane in NCHW tensor. Test Plan: python test/test_quantized.py TestQuantizedOps.test_mean Imported from OSS Differential Revision: D17989336 fbshipit-source-id: 8d4cbcbed5f146290b1580d26e5b45359d293761
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Stack from ghstack:
Summary:
This leverages QNNPACK global average pooling to perform torch.mean on input feature maps
Currently can only support mean along HxW plane in NCHW tensor.
Test Plan:
python test/test_quantized.py TestQuantizedOps.test_mean
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D17989336