Skip to content

Commit 41c4780

Browse files
authored
set 'onnx_format: True' with ACT case (PaddlePaddle#1649)
* set onnx_format: True * set onnx_format: True
1 parent 874c1ac commit 41c4780

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

example/auto_compression/image_classification/configs/GhostNet_x1_0/qat_dis.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ QuantAware:
1414
use_pact: true
1515
activation_bits: 8
1616
is_full_quantize: false
17+
onnx_format: True
1718
activation_quantize_type: moving_average_abs_max
1819
weight_quantize_type: channel_wise_abs_max
1920
not_quant_pattern:

example/auto_compression/image_classification/configs/InceptionV3/qat_dis.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Distillation:
1414
- softmax_1.tmp_0
1515
QuantAware:
1616
is_full_quantize: false
17+
onnx_format: True
1718
activation_quantize_type: moving_average_abs_max
1819
weight_quantize_type: channel_wise_abs_max
1920
not_quant_pattern:

example/auto_compression/image_classification/configs/MobileNetV1/qat_dis.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ QuantAware:
1414
use_pact: true
1515
activation_bits: 8
1616
is_full_quantize: false
17+
onnx_format: True
1718
activation_quantize_type: moving_average_abs_max
1819
weight_quantize_type: channel_wise_abs_max
1920
not_quant_pattern:

example/auto_compression/image_classification/configs/PPLCNet_x1_0/qat_dis.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ QuantAware:
1414
use_pact: true
1515
activation_bits: 8
1616
is_full_quantize: false
17+
onnx_format: True
1718
activation_quantize_type: moving_average_abs_max
1819
weight_quantize_type: channel_wise_abs_max
1920
not_quant_pattern:

example/auto_compression/image_classification/configs/ShuffleNetV2_x1_0/qat_dis.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ QuantAware:
1414
use_pact: true
1515
activation_bits: 8
1616
is_full_quantize: false
17+
onnx_format: True
1718
activation_quantize_type: moving_average_abs_max
1819
weight_quantize_type: channel_wise_abs_max
1920
not_quant_pattern:

example/auto_compression/image_classification/configs/SqueezeNet1_0/qat_dis.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Distillation:
1313
QuantAware:
1414
activation_bits: 8
1515
is_full_quantize: false
16+
onnx_format: True
1617
activation_quantize_type: moving_average_abs_max
1718
weight_quantize_type: channel_wise_abs_max
1819
not_quant_pattern:

example/auto_compression/image_classification/configs/SwinTransformer_base_patch4_window7_224/qat_dis.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ QuantAware:
1414
use_pact: true
1515
activation_bits: 8
1616
is_full_quantize: false
17+
onnx_format: True
1718
activation_quantize_type: moving_average_abs_max
1819
weight_quantize_type: channel_wise_abs_max
1920
not_quant_pattern:

0 commit comments

Comments
 (0)