vitis_quantize.VitisQuantizer.dump_quantize_strategy - 2.5 English

Vitis AI User Guide (UG1414)

Document ID
UG1414
Release Date
2022-06-15
Version
2.5 English
This function dumps current quantize strategy configurations to JSON file.

vitis_quantize.VitisQuantizer.dump_quantize_strategy(
    dump_file='quantize_strategy.json', 
    verbose=0)

Arguments

dump_file
A string object, file path of the dumped quantize strategy JSON file.
verbose
An int object, the verbosity of the dumped JSON file. Greater verbose value will dump more detailed quantize strategy. Setting verbose to value greater or equal to 2 will dump the full quantize strategy. Default to 0.