OpenCV
4.9.0
Open Source Computer Vision
|
This structure provides functions that fill inference options for TensorRT Execution Provider. Please follow https://onnxruntime.ai/docs/execution-providers/TensorRT-ExecutionProvider.html#tensorrt-execution-provider. More...
#include <opencv2/gapi/infer/onnx.hpp>
Public Member Functions | |
GAPI_WRAP | TensorRT (const int dev_id) |
Class constructor. More... | |
Public Attributes | |
int | device_id |
This structure provides functions that fill inference options for TensorRT Execution Provider. Please follow https://onnxruntime.ai/docs/execution-providers/TensorRT-ExecutionProvider.html#tensorrt-execution-provider.
|
inlineexplicit |
Class constructor.
Constructs TensorRT parameters based on device type information.
dev_id | Target device id to use. |
int cv::gapi::onnx::ep::TensorRT::device_id |