Pruning the Model - 1.3 English

Vitis AI Optimizer User Guide (UG1333)

Document ID
UG1333
Release Date
2020-12-17
Version
1.3 English

Call prune() method to get a pruned model. The ratio is the proportion of FLOPs expected to be reduced.

model = pruner.prune(ratio=0.1)