--enable_small_channel

Description

Enables small channel optimization 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 in conjunction with the --insert_op_conf AIPP option to achieve better performance.

This option can only be used together with static AIPP and cannot work with dynamic AIPP, due to software restrictions.

Argument

Argument:

  • 0: disabled The default value is 0.
  • 1: enabled

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

Applicability

Atlas 200/300/500 Inference Product

Atlas Training Series Product

Restrictions

Use this option in conjunction with the --insert_op_conf AIPP option. Otherwise, there may be no benefits.