Support some ops for full quantization#40083
Merged
yghstill merged 5 commits intoPaddlePaddle:developfrom Mar 15, 2022
Merged
Conversation
|
Thanks for your contribution! |
| "hard_sigmoid", "conv2d_transpose", "gru", "bilinear_interp", | ||
| "nearest_interp", "trilinear_interp", "flatten", "flatten2", "transpose", | ||
| "pad2d", "reshape", "layer_norm", "split", "flatten_contiguous_range", | ||
| "squeeze2", "nearest_interp_v2", "fill_constant_batch_size_like" |
Contributor
There was a problem hiding this comment.
list后边加个逗号,修改文件后的diff会更直观。
| "sigmoid", "pad2d", "flatten", "flatten2", "batch_norm", "layer_norm", | ||
| "matmul_v2" | ||
| "matmul_v2", "split", "flatten_contiguous_range", "squeeze2", | ||
| "nearest_interp_v2", "fill_constant_batch_size_like" |
| "flatten2": [["X"], ["Out"]], | ||
| "unsqueeze2": [["X"], ["Out"]], | ||
| "flatten_contiguous_range": [['X'], ["Out"]], | ||
| "split": [['X'], ["Out"]], |
Contributor
There was a problem hiding this comment.
split需要特殊处理下么?类似于concat。
Contributor
Author
There was a problem hiding this comment.
out_threshold只输出一个即可,其余暂不需要特殊处理。
|
Sorry to inform you that 423912c's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
liqitong-a
pushed a commit
to liqitong-a/Paddle
that referenced
this pull request
Mar 17, 2022
* add some op for full_quantization
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
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.
PR types
Function optimization
PR changes
APIs
Describe
Support some op for full quantization