Skip to content

Commit

Permalink
Remove duplicate dq/q nodes
Browse files Browse the repository at this point in the history
Summary: There are some duplicates in this set

Reviewed By: lucylq

Differential Revision: D50611377

fbshipit-source-id: aea4dfef53cd237adefeeb48f75fccb1f6fe2f5d
  • Loading branch information
cccclai authored and facebook-github-bot committed Oct 24, 2023
1 parent d7626f2 commit 52da169
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions exir/passes/const_prop_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,11 @@ def is_const(arg) -> bool:
return False

dequant_quant_ops = {
torch.ops.quantized_decomposed.quantize_per_channel.default,
torch.ops.quantized_decomposed.quantize_per_tensor.default,
torch.ops.quantized_decomposed.dequantize_per_channel.default,
torch.ops.quantized_decomposed.dequantize_per_tensor.default,
torch.ops.quantized_decomposed.quantize_per_channel.default,
torch.ops.quantized_decomposed.dequantize_per_channel.default,
ops.edge.quantized_decomposed.quantize_per_channel.default,
ops.edge.quantized_decomposed.quantize_per_tensor.default,
ops.edge.quantized_decomposed.dequantize_per_channel.default,
ops.edge.quantized_decomposed.dequantize_per_tensor.default,
ops.edge.quantized_decomposed.quantize_per_channel.default,
ops.edge.quantized_decomposed.dequantize_per_channel.default,
Expand Down

0 comments on commit 52da169

Please sign in to comment.