Does `builder->setFp16Mode(true)` perform the post-training quantization?

I have a UFF formatted model from tensorflow and want to parse it and inference on Xavier using TensorRT. Can I use builder->setFp16Mode(true) to perform post-training quantization.


YES. The command compile a FLOAT model into FP16 mode.
Detail quantization process can be found here: