Provide details on the platforms you are using:
Not relevant
Describe the problem
The documentations for C++ APIs seems to be for TensorRT 4 still. For example, missing the new pure virtual functions like clone, destroy, etc for IPluginExt. Also, NvInferPlugin.h seems to be not of version 5. The link given in TensorRT 5 documentations for new plugins like NMS_TRT is missing. Although, some part of the documentations seems to be of v5. For instance, the macro NV_TENSORRT_MAJOR is defined as 5 in the documentation. So there might be some discrepancies among different pages.
The problem is that the source code page is for v5 and the API webpage is for v4 (I’m guessing).
The same would be for IPluginExt API page. Try search the function clone. Again, you can find in source code page, but not in API page. And again, clone is a new API in TensorRT 5, not 4.
Also, I’m currently working on Jetson TX2 and Xavier at the same time. The jetpacks for them come with different versions. It’ll be nice if I can have API webpage of different versions for me the refer to, since I’m maintaining source code deployed on both TensorRT v4 and v5. Although I’m quite familiar with some of the API differences, I just think it would be nice to have the options.