Skip to content

Commit 52da169

Browse files
cccclaifacebook-github-bot
authored andcommitted
Remove duplicate dq/q nodes
Summary: There are some duplicates in this set Reviewed By: lucylq Differential Revision: D50611377 fbshipit-source-id: aea4dfef53cd237adefeeb48f75fccb1f6fe2f5d
1 parent d7626f2 commit 52da169

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

exir/passes/const_prop_pass.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,11 @@ def is_const(arg) -> bool:
5555
return False
5656

5757
dequant_quant_ops = {
58-
torch.ops.quantized_decomposed.quantize_per_channel.default,
5958
torch.ops.quantized_decomposed.quantize_per_tensor.default,
60-
torch.ops.quantized_decomposed.dequantize_per_channel.default,
6159
torch.ops.quantized_decomposed.dequantize_per_tensor.default,
6260
torch.ops.quantized_decomposed.quantize_per_channel.default,
6361
torch.ops.quantized_decomposed.dequantize_per_channel.default,
64-
ops.edge.quantized_decomposed.quantize_per_channel.default,
6562
ops.edge.quantized_decomposed.quantize_per_tensor.default,
66-
ops.edge.quantized_decomposed.dequantize_per_channel.default,
6763
ops.edge.quantized_decomposed.dequantize_per_tensor.default,
6864
ops.edge.quantized_decomposed.quantize_per_channel.default,
6965
ops.edge.quantized_decomposed.dequantize_per_channel.default,

0 commit comments

Comments
 (0)