-
Notifications
You must be signed in to change notification settings - Fork 74k
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
[Intel MKL] Adding Quantized Convolution (Int8) - Part 3 #21465
[Intel MKL] Adding Quantized Convolution (Int8) - Part 3 #21465
Conversation
在 2018年8月8日,08:28,Mahmoud Abuzaina <notifications@github.com<mailto:notifications@github.com>> 写道:
This PR is part 3 of four PRs that add quantized version of convolution using MKL-DNN. This part adds changes that are required to quantize a graph and it enables fusions of MKL quantized convolution.
…________________________________
You can view, comment on, or merge this pull request online at:
#21465
Commit Summary
* Adding int8 conv part3
File Changes
* M tensorflow/tools/graph_transforms/BUILD<https://github.com/tensorflow/tensorflow/pull/21465/files#diff-0> (1)
* A tensorflow/tools/graph_transforms/fuse_quantized_convolution.cc<https://github.com/tensorflow/tensorflow/pull/21465/files#diff-1> (220)
* M tensorflow/tools/quantization/quantize_graph.py<https://github.com/tensorflow/tensorflow/pull/21465/files#diff-2> (348)
Patch Links:
* https://github.com/tensorflow/tensorflow/pull/21465.patch
* https://github.com/tensorflow/tensorflow/pull/21465.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#21465>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ARHDlNRwr6aBck0dOv5vV2agM9YqImu7ks5uOjCzgaJpZM4VzFan>.
|
983ca67
to
9d45b84
Compare
Nagging Reviewer @tatianashp, @raghuraman-k: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 50 days with no activity and the |
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.
Please remove quantize_graph from this PR. It will be best to host it separately.
@raghuraman-k @drpngx removed quantize_graph.py |
@drpngx Tests looks fine. Ready to go? |
@suharshs Can you take a look? Is this PR still relevant? |
@mahmoud-abuzaina please return an error (invalid argument) for when the tensor parsing fails and not implemented if the dtype is wrong:
We do not allow |
@drpngx Removed CHECK and CHECK_EQ, added errors::InvalidArgument and errors::Unimplemented. Could you please check? |
PiperOrigin-RevId: 217397980
This PR is part 3 of four PRs that add quantized version of convolution using MKL-DNN. This part adds changes that are required to quantize a graph and it enables fusions of MKL quantized convolution.
Please note that the below PRs replace this one #19425
Part 1: #21483
Part 2: #21456
Part 3: #21465
Part 4: #21466