![]() |
OpenCV 4.12.0
開源計算機視覺
|
此結構體提供了填充 CUDA 執行提供程式的推理選項的函式。請遵循 https://onnxruntime.llms.tw/docs/execution-providers/CUDA-ExecutionProvider.html#cuda-execution-provider。 更多...
#include <opencv2/gapi/infer/onnx.hpp>
公共成員函式 | |
| GAPI_WRAP | CUDA (const int dev_id) |
| 類建構函式。 | |
公共屬性 | |
| int | device_id |
此結構體提供了填充 CUDA 執行提供程式的推理選項的函式。請遵循 https://onnxruntime.llms.tw/docs/execution-providers/CUDA-ExecutionProvider.html#cuda-execution-provider。
|
內聯顯式 |
類建構函式。
根據裝置型別資訊構造 CUDA 引數。
| dev_id | 要使用的目標裝置 ID。 |
| int cv::gapi::onnx::ep::CUDA::device_id |