OpenCV 5.0.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
cv::gapi::onnx::ep::DirectML クラス

この構造体は、ONNX DirectML Execution Providerの推論オプションを設定する関数を提供する。https://onnxruntime.ai/docs/execution-providers/DirectML-ExecutionProvider.html#directml-execution-provider を参照のこと。 続きを読む...

#include <opencv2/gapi/infer/onnx.hpp>

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

公開型

using DeviceDesc = cv::util::variant<int, std::string>
 

公開メンバ関数

GAPI_WRAP DirectML (const int device_id)
 クラスのコンストラクタ。
 
GAPI_WRAP DirectML (const std::string &adapter_name)
 クラスのコンストラクタ。
 

公開変数類

DeviceDesc ddesc
 

詳細説明

この構造体は、ONNX DirectML Execution Providerの推論オプションを設定する関数を提供する。https://onnxruntime.ai/docs/execution-providers/DirectML-ExecutionProvider.html#directml-execution-provider を参照のこと。

型定義メンバ詳解

◆ 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

DeviceDesc cv::gapi::onnx::ep::DirectML::ddesc

このクラス詳解は次のファイルから抽出されました: