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.