Generating Dense Checkpoints - 2.0 English

Vitis AI Optimizer User Guide (UG1333)

Document ID
UG1333
Release Date
2022-01-20
Version
2.0 English

A few iterations of pruning generates a model that is smaller than its original size. To get a final model, perform a transformation on the model.

vai_p_tensorflow \
  --action=transform \
  --input_ckpt=model.ckpt-10000 \
  --output_ckpt=dense.ckpt
Note: Transformation is only required after all iterations of pruning are completed. Do not run the transform command after each iteration of pruning.