OpenCV
4.10.0-dev
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. | |
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 |