How to catch calibration table by writeCalibrationCache() on tensorRT 5 ?

Hi.
I want to write calibration table to local file, How to catch calibration table by writeCalibrationCache() on tensorRT 5?

Hi
I solve this issue myself, calibration table would auto create when use INT8
inference on tensorRT 5 and we can use writeCalibrationCache() func to write to local file by

writeCalibrationCache(&(mCalibrationCache[0]), mCalibrationCache.size())

I use sampleSSD demo.