Skip to content

Commit c9fcf1b

Browse files
committed
Update calibrate_method from NoClip to Kld.
1 parent 7befe50 commit c9fcf1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/USAGE_v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ PTQTensorOptions类, 用于配置nncase PTQ选项,各属性说明如下
222222

223223
| 字段名称 | 类型 | 是否必须 | 描述 |
224224
| ------------------------------------- | ------ | -------- | ----------------------------------------------------------------------------------------- |
225-
| calibrate_method | string || 量化校正方法,默认为'NoClip',可选'Kld'。使用量化时必须配置 |
225+
| calibrate_method | string || 量化校正方法,默认为'Kld',可选'NoClip' |
226226
| samples_count | int || 校正集数量。使用量化时必须配置 |
227227
| finetune_weights_method | string || 微调权重方法,默认为'NoFineTuneWeights'。可选 'UseSquant' |
228228
| quant_type | string || 数据量化类型,默认为'uint8'。可选'int8','int16' |

docs/USAGE_v2_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ PTQTensorOptions is used to configure PTQ options. The details of all attributes
220220

221221
| Attribute | Data Type | Required | Description |
222222
| ------------------------------------- | --------- | -------- | ------------------------------------------------------------------------------------------------------------------- |
223-
| calibrate_method | string | N | Specify calibrate method, 'NoClip' by default. 'Kld' is optional. Must be configured when use quantification. |
223+
| calibrate_method | string | N | Specify calibrate method, 'Kld' by default. 'NoClip' is optional. |
224224
| samples_count | int | N | The number of calibration data sets. Must be configured when use quantification. |
225225
| finetune_weights_method | string | N | Finetune weights method,'NoFineTuneWeights' by default. 'UseSquant' is optional. |
226226
| quant_type | string | N | Type of data quantification,'uint8' by default. 'int8','int16' are optional. |

0 commit comments

Comments
 (0)