File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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' |
Original file line number Diff line number Diff 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. |
You can’t perform that action at this time.
0 commit comments