I found the doc of TensorRT5 (in the downloaded pdf SWE-SWDOCTRT-001-DEVG_v5.0.2) inconsistent with api.
The MNIST sample in section 22.214.171.124 is different in the actual sample code sampleOnnxMNIST.cpp
this is the sample from the doc
nvonnxparser::IONNXParser* parser = nvonnxparser::createONNXParser(*config);
However there is no createONNXParser in the header file NvOnnxParser.h, and there is not a api that accepts a config object either (it should be createONNXParser, according to the doc)
In ONNXParser::parse previously I can specify datatype. I noticed this is changed now. Could you also explain how can I specify a datatype (int8) now in ONNXParser?