File size: 1,220 Bytes
3c50954 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | {
"model_type": "ONNX",
"npu_mode": "NPU3",
"quant": {
"input_configs": [
{
"tensor_name": "speech",
"calibration_dataset": "./calibration_dataset/speech.tar.gz",
"calibration_size": -1,
"calibration_format": "Numpy"
},
{
"tensor_name": "speech_lengths",
"calibration_dataset": "./calibration_dataset/speech_lengths.tar.gz",
"calibration_size": -1,
"calibration_format": "Numpy"
}
],
"layer_configs": [
{
"start_tensor_names": ["DEFAULT"],
"end_tensor_names": ["DEFAULT"],
"data_type": "U16"
}
],
"calibration_method": "MinMax",
"conv_bias_data_type": "FP32",
"disable_auto_refine_scale": true,
"enable_smooth_quant": true,
"precision_analysis": true,
"precision_analysis_method": "EndToEnd",
"transformer_opt_level": 1
},
"input_processors": [
{
"tensor_name": "speech",
"src_dtype": "FP32"
},
{
"tensor_name": "speech_lengths",
"src_dtype": "S32"
}
],
"compiler": {
"check": 0
}
}
|