--enable_small_channel
Applicable Products
All processors
Description
Enables small channel tuning to yield performance benefits at convolutional layers with channel size ≤ 4. You are advised to enable this function in inference scenarios.
See Also
- You are advised to use this option together with the AIPP option --insert_op_conf to achieve better performance. This option can only be used together with static AIPP and cannot work with dynamic AIPP, due to software restrictions.
Arguments
Argument:
- 0 (default): Disables small channel tuning during model inference.
- 1: Enables small channel tuning during model inference.
Restrictions: If the model input with channel ≤ 4, you are advised to use this option and use it in pair with --insert_op_conf to enable AIPP and obtain better performance. If the performance deteriorates after this option is used, you are advised to perform tiling.
Suggestions and Benefits
None
Example
--enable_small_channel=1
Restrictions
Use this option in conjunction with the AIPP option --insert_op_conf. Otherwise, there may be no benefits.
Parent topic: Model Tuning Options