File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
docs/zh_cn/api_cn/dygraph/quanter Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ quant_config = {
41
41
42
42
- ` 'activation_preprocess_type' ` :代表对量化模型激活值预处理的方法,目前支持PACT方法,如需使用可以改为'PACT';默认为None,代表不对激活值进行任何预处理。
43
43
44
- - ` weight_quantize_type ` :代表模型权重的量化方式,可选的有[ 'abs_max', 'moving_average_abs_max', ' channel_wise_abs_max'] ,默认为channel_wise_abs_max
44
+ - ` weight_quantize_type ` :代表模型权重的量化方式,可选的有[ 'abs_max', 'channel_wise_abs_max'] ,默认为channel_wise_abs_max
45
45
46
- - ` activation_quantize_type ` :代表模型激活值的量化方式,可选的有[ 'abs_max', ' moving_average_abs_max'] ,默认为moving_average_abs_max
46
+ - ` activation_quantize_type ` :代表模型激活值的量化方式,可选的有[ 'moving_average_abs_max'] ,默认为moving_average_abs_max
47
47
48
48
- ` quantizable_layer_type ` :代表量化OP的类型,目前支持Conv2D和Linear
49
49
Original file line number Diff line number Diff line change 63
63
# activation预处理方法,默认为None,代表不进行预处理`
64
64
' activation_preprocess_type' : None ,
65
65
66
- # weight量化方法, 默认为'channel_wise_abs_max', 此外还支持'channel_wise_abs_max '
66
+ # weight量化方法, 默认为'channel_wise_abs_max', 此外还支持'abs_max '
67
67
' weight_quantize_type' : ' channel_wise_abs_max' ,
68
68
69
- # activation量化方法, 默认为'moving_average_abs_max', 此外还支持'abs_max'
69
+ # activation量化方法, 默认为'moving_average_abs_max'
70
70
' activation_quantize_type' : ' moving_average_abs_max' ,
71
71
72
72
# weight量化比特数, 默认为 8
You can’t perform that action at this time.
0 commit comments