C++ API#

This is the API documentation for the NVIDIA TensorRT library. The NVIDIA TensorRT C++ API allows developers to import, calibrate, generate, and deploy networks using C++. Networks can be imported directly from ONNX. They can also be created programmatically by instantiating individual layers and setting parameters and weights directly.

Interface - TensorRT C++ API

See also

Using the C++ API

Developer guide with end-to-end examples for building and running engines.

Migrating from TensorRT 8.x to 10.x

API migration guide for upgrading from TensorRT 8.x.

Troubleshooting

Common errors, FAQs, and debugging guidance.

Python API

The Python equivalent of this API reference.