Onnx-tensorrt: deserialization of the generated trt file

Created on 24 Oct 2018  路  2Comments  路  Source: onnx/onnx-tensorrt

After got the serialized .trt file, how can we deserialize it using tensorrt c++ api?

Most helpful comment

I don't think the doc discribes the process clearly enough. What is the modeldata and modelsize? Should I use class IHostmemroy to save the data and information?

All 2 comments

Please check this tutorial on how to deserialize TRT engine in C++:
https://docs.nvidia.com/deeplearning/sdk/tensorrt-developer-guide/index.html#serial_model_c

I don't think the doc discribes the process clearly enough. What is the modeldata and modelsize? Should I use class IHostmemroy to save the data and information?

Was this page helpful?
0 / 5 - 0 ratings