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

この構造体はONNXモデルに固有の推論引数の記述を含む。 詳細...

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

Collaboration diagram for cv::gapi::onnx::detail::ParamDesc:

公開型

using ConstInput = std::pair<cv::Mat, TraitAs>
 

公開変数類

std::unordered_map< std::string, ConstInputconst_inputs
 ネットワークレイヤー名とそれに関連付けられるConstInputのペアを保持するマップ。
 
PostProc custom_post_proc
 後処理関数。
 
bool disable_mem_pattern
 
std::vector< cv::gapi::onnx::ep::EPexecution_providers
 
std::unordered_map< std::string, std::pair< cv::Scalar, cv::Scalar > > generic_mstd
 
std::unordered_map< std::string, bool > generic_norm
 
std::vector< std::string > input_names
 入力ネットワークレイヤーの名前。
 
bool is_generic
 
std::vector< cv::Scalarmean
 前処理用の平均値。
 
std::string model_path
 モデルへのパス。
 
std::vector< std::string > names_to_remap
 PostProc関数で処理される出力レイヤーの名前。
 
std::vector< bool > normalize
 入力データの正規化を有効または無効にするbool値のベクトル。
 
std::size_t num_in
 この操作で定義されている入力の数。
 
std::size_t num_out
 この操作で定義されている出力の数。
 
cv::util::optional< int > opt_level
 
std::vector< cv::GMatDescout_metas
 出力に関するメタ情報 (型、次元)。
 
std::vector< std::string > output_names
 出力ネットワークレイヤーの名前。
 
std::map< std::string, std::string > session_options
 
std::vector< cv::Scalarstdev
 前処理用の標準偏差の値。
 

詳細説明

この構造体はONNXモデルに固有の推論引数の記述を含む。

型定義メンバ詳解

◆ ConstInput

メンバ変数詳解

◆ const_inputs

std::unordered_map<std::string, ConstInput> cv::gapi::onnx::detail::ParamDesc::const_inputs

ネットワークレイヤー名とそれに関連付けられるConstInputのペアを保持するマップ。

◆ custom_post_proc

PostProc cv::gapi::onnx::detail::ParamDesc::custom_post_proc

後処理関数。

◆ disable_mem_pattern

bool cv::gapi::onnx::detail::ParamDesc::disable_mem_pattern

◆ execution_providers

std::vector<cv::gapi::onnx::ep::EP> cv::gapi::onnx::detail::ParamDesc::execution_providers

◆ generic_mstd

std::unordered_map<std::string, std::pair<cv::Scalar, cv::Scalar> > cv::gapi::onnx::detail::ParamDesc::generic_mstd

◆ generic_norm

std::unordered_map<std::string, bool> cv::gapi::onnx::detail::ParamDesc::generic_norm

◆ input_names

std::vector<std::string> cv::gapi::onnx::detail::ParamDesc::input_names

入力ネットワークレイヤーの名前。

◆ is_generic

bool cv::gapi::onnx::detail::ParamDesc::is_generic

◆ mean

std::vector<cv::Scalar> cv::gapi::onnx::detail::ParamDesc::mean

前処理用の平均値。

◆ model_path

std::string cv::gapi::onnx::detail::ParamDesc::model_path

モデルへのパス。

◆ names_to_remap

std::vector<std::string> cv::gapi::onnx::detail::ParamDesc::names_to_remap

PostProc関数で処理される出力レイヤの名前。

◆ normalize

std::vector<bool> cv::gapi::onnx::detail::ParamDesc::normalize

入力データの正規化を有効または無効にするbool値のベクトル。

◆ num_in

std::size_t cv::gapi::onnx::detail::ParamDesc::num_in

この演算で定義されている入力の数。

◆ num_out

std::size_t cv::gapi::onnx::detail::ParamDesc::num_out

この演算で定義されている出力の数。

◆ opt_level

cv::util::optional<int> cv::gapi::onnx::detail::ParamDesc::opt_level

◆ out_metas

std::vector<cv::GMatDesc> cv::gapi::onnx::detail::ParamDesc::out_metas

出力に関するメタ情報(型、次元)。

◆ output_names

std::vector<std::string> cv::gapi::onnx::detail::ParamDesc::output_names

出力ネットワークレイヤの名前。

◆ session_options

std::map<std::string, std::string> cv::gapi::onnx::detail::ParamDesc::session_options

◆ stdev

std::vector<cv::Scalar> cv::gapi::onnx::detail::ParamDesc::stdev

前処理用の標準偏差の値。


この構造体詳解は次のファイルから抽出されました: