この構造体は、ONNX DirectML Execution Providerの推論オプションを設定する関数を提供する。https://onnxruntime.ai/docs/execution-providers/DirectML-ExecutionProvider.html#directml-execution-provider を参照のこと。 続きを読む...
#include <opencv2/gapi/infer/onnx.hpp>
◆ DeviceDesc
◆ DirectML() [1/2]
| GAPI_WRAP cv::gapi::onnx::ep::DirectML::DirectML |
( |
const int | device_id | ) |
|
|
inlineexplicit |
| Python: |
|---|
| cv.gapi.onnx.ep.DirectML( | | ) -> | <gapi_onnx_ep_DirectML object> |
| cv.gapi.onnx.ep.DirectML( | device_id | ) -> | <gapi_onnx_ep_DirectML object> |
| cv.gapi.onnx.ep.DirectML( | adapter_name | ) -> | <gapi_onnx_ep_DirectML object> |
クラスのコンストラクタ。
デバイスIDに基づいて DirectML パラメータを構築する。
- 引数
-
| device_id | 使用する対象デバイスID。("0"、"1"など) |
◆ DirectML() [2/2]
| GAPI_WRAP cv::gapi::onnx::ep::DirectML::DirectML |
( |
const std::string & | adapter_name | ) |
|
|
inlineexplicit |
| Python: |
|---|
| cv.gapi.onnx.ep.DirectML( | | ) -> | <gapi_onnx_ep_DirectML object> |
| cv.gapi.onnx.ep.DirectML( | device_id | ) -> | <gapi_onnx_ep_DirectML object> |
| cv.gapi.onnx.ep.DirectML( | adapter_name | ) -> | <gapi_onnx_ep_DirectML object> |
クラスのコンストラクタ。
アダプタ名に基づいて DirectML パラメータを構築する。
- 引数
-
| adapter_name | 使用する対象のadapter_name。 |
◆ ddesc
このクラス詳解は次のファイルから抽出されました: