If you have scripts to evaluate floating point model, like the models in Xilinx Modelzoo. Apply the following two changes to evaluate the quantized model.
“from tensorflow.contrib import decent_q”in front of the float evaluation script. This will register the quantize operation.
- Replace the float model path in the scripts to quantization