Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ quantization: # optional. tuning constrai
algorithm: minmax
weight:
granularity: per_channel
op_wise: {
'densenet121/MaxPool2D/MaxPool': {
'activation': {'dtype': ['fp32']}
},
'densenet121/transition_block[1-3]/AvgPool2D/AvgPool': {
'activation': {'dtype': ['fp32']},
}
}

evaluation: # optional. required if user doesn't provide eval_func in neural_compressor.Quantization.
accuracy: # optional. required if user doesn't provide eval_func in neural_compressor.Quantization.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ quantization: # optional. tuning constrai
algorithm: minmax
weight:
granularity: per_channel
op_wise: {
'densenet161/MaxPool2D/MaxPool': {
'activation': {'dtype': ['fp32']}
},
'densenet161/transition_block[1-3]/AvgPool2D/AvgPool': {
'activation': {'dtype': ['fp32']},
}
}

evaluation: # optional. required if user doesn't provide eval_func in neural_compressor.Quantization.
accuracy: # optional. required if user doesn't provide eval_func in neural_compressor.Quantization.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ quantization: # optional. tuning constrai
algorithm: minmax
weight:
granularity: per_channel
op_wise: {
'densenet169/MaxPool2D/MaxPool': {
'activation': {'dtype': ['fp32']}
},
'densenet169/transition_block[1-3]/AvgPool2D/AvgPool': {
'activation': {'dtype': ['fp32']},
}
}

evaluation: # optional. required if user doesn't provide eval_func in neural_compressor.Quantization.
accuracy: # optional. required if user doesn't provide eval_func in neural_compressor.Quantization.
Expand Down