Skip to content

Commit 9d099ab

Browse files
committed
add support ops for quantization
1 parent 0043fa8 commit 9d099ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/paddle/fluid/contrib/slim/quantization/quantization_pass.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
"pad2d": [["X"], ["Out"]],
134134
"flatten": [["X"], ["Out"]],
135135
"flatten2": [["X"], ["Out"]],
136+
"unsqueeze2": [["X"], ["Out"]],
136137
}
137138

138139
_conv_ops = ['conv2d', 'depthwise_conv2d', 'conv2d_transpose']

0 commit comments

Comments
 (0)