Setting the Options - 1.2 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2020-07-21
Version
1.2 English

In the command line, [options] stands for optional parameters. The most commonly used options are as follows:

  • weight_bit: Bit width for quantized weight and bias (default is 8).
  • activation_bit: Bit width for quantized activation (default is 8).
  • method: Quantization methods, including 0 for non-overflow and 1 for min-diffs. The non-overflow method ensures that no values are saturated during quantization. The results can be easily affected by outliers. The min-diffs method allows saturation for quantization to achieve a lower quantization difference. It is more robust to outliers and usually results in a narrower range than the non-overflow method.