@@ -306,7 +306,7 @@ def test_force_quant_dequant_fusion(self) -> None:
306
306
# Verify that dequant/quant pair was replaced with requantize.
307
307
exir_ops .edge .quantized_decomposed .quantize_per_tensor .default : 0 ,
308
308
exir_ops .edge .quantized_decomposed .dequantize_per_tensor .default : 0 ,
309
- exir_ops .edge .cadence .requantize .default : 1 ,
309
+ exir_ops .edge .cadence .requantize .per_tensor : 1 ,
310
310
},
311
311
)
312
312
@@ -336,7 +336,7 @@ def test_no_replace_quant_permute_dequant_with_requantize(self) -> None:
336
336
# quantize -> permute -> dequantize should not be replaced with requantize.
337
337
exir_ops .edge .quantized_decomposed .quantize_per_tensor .default : 1 ,
338
338
exir_ops .edge .quantized_decomposed .dequantize_per_tensor .default : 1 ,
339
- exir_ops .edge .cadence .requantize .default : 0 ,
339
+ exir_ops .edge .cadence .requantize .per_tensor : 0 ,
340
340
},
341
341
)
342
342
@@ -364,7 +364,7 @@ def test_replace_quant_view_dequant_with_requantize(self) -> None:
364
364
# Verify that dequant/quant pair was replaced with requantize.
365
365
exir_ops .edge .quantized_decomposed .quantize_per_tensor .default : 0 ,
366
366
exir_ops .edge .quantized_decomposed .dequantize_per_tensor .default : 0 ,
367
- exir_ops .edge .cadence .requantize .default : 1 ,
367
+ exir_ops .edge .cadence .requantize .per_tensor : 1 ,
368
368
},
369
369
)
370
370
@@ -390,7 +390,7 @@ def test_replace_dequant_quant_with_requantize(self) -> None:
390
390
# Verify that dequant -> quant was replaced with requantize.
391
391
exir_ops .edge .quantized_decomposed .quantize_per_tensor .default : 0 ,
392
392
exir_ops .edge .quantized_decomposed .dequantize_per_tensor .default : 0 ,
393
- exir_ops .edge .cadence .requantize .default : 1 ,
393
+ exir_ops .edge .cadence .requantize .per_tensor : 1 ,
394
394
},
395
395
)
396
396
@@ -420,7 +420,7 @@ def test_replace_dequant_permute_quant_with_requantize(self) -> None:
420
420
exir_ops .edge .quantized_decomposed .quantize_per_tensor .default : 0 ,
421
421
exir_ops .edge .quantized_decomposed .dequantize_per_tensor .default : 0 ,
422
422
exir_ops .edge .aten .permute_copy .default : 1 ,
423
- exir_ops .edge .cadence .requantize .default : 1 ,
423
+ exir_ops .edge .cadence .requantize .per_tensor : 1 ,
424
424
},
425
425
)
426
426
0 commit comments