MNN/tools/quantization/sequenceInputConfig.json

16 lines
377 B
JSON

{
"path":"path/to/txt/files",
"used_sample_num":500,
"feature_quantize_method":"EMA",
"weight_quantize_method":"MAX_ABS",
"feature_clamp_value":127,
"weight_clamp_value":127,
"batch_size":32,
"quant_bits":8,
"skip_quant_op_names":[
"skip_quant_op_name1", "skip_quant_op_name2"
],
"input_type":"sequence",
"debug":false
}