OpenCV 5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::gapi::onnx::ep::TensorRT Struct Reference

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>

Collaboration diagram for cv::gapi::onnx::ep::TensorRT:

Public Member Functions

GAPI_WRAP TensorRT (const int dev_id)
 Class constructor.
 

Public Attributes

int device_id
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TensorRT()

GAPI_WRAP cv::gapi::onnx::ep::TensorRT::TensorRT ( const int dev_id)
inlineexplicit

Class constructor.

Constructs TensorRT parameters based on device type information.

Parameters
dev_idTarget device id to use.

Member Data Documentation

◆ device_id

int cv::gapi::onnx::ep::TensorRT::device_id

The documentation for this struct was generated from the following file: