![]() |
OpenCV 5.0.0
Open Source Computer Vision
|
この構造体はONNXモデルに固有の推論引数の記述を含む。 詳細...
#include <opencv2/gapi/infer/onnx.hpp>
公開型 | |
| using | ConstInput = std::pair<cv::Mat, TraitAs> |
公開変数類 | |
| std::unordered_map< std::string, ConstInput > | const_inputs |
| ネットワークレイヤー名とそれに関連付けられるConstInputのペアを保持するマップ。 | |
| PostProc | custom_post_proc |
| 後処理関数。 | |
| bool | disable_mem_pattern |
| std::vector< cv::gapi::onnx::ep::EP > | execution_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::Scalar > | mean |
| 前処理用の平均値。 | |
| 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::GMatDesc > | out_metas |
| 出力に関するメタ情報 (型、次元)。 | |
| std::vector< std::string > | output_names |
| 出力ネットワークレイヤーの名前。 | |
| std::map< std::string, std::string > | session_options |
| std::vector< cv::Scalar > | stdev |
| 前処理用の標準偏差の値。 | |
この構造体はONNXモデルに固有の推論引数の記述を含む。
| using cv::gapi::onnx::detail::ParamDesc::ConstInput = std::pair<cv::Mat, TraitAs> |
| std::unordered_map<std::string, ConstInput> cv::gapi::onnx::detail::ParamDesc::const_inputs |
ネットワークレイヤー名とそれに関連付けられるConstInputのペアを保持するマップ。
| PostProc cv::gapi::onnx::detail::ParamDesc::custom_post_proc |
後処理関数。
| bool cv::gapi::onnx::detail::ParamDesc::disable_mem_pattern |
| std::vector<cv::gapi::onnx::ep::EP> cv::gapi::onnx::detail::ParamDesc::execution_providers |
| std::unordered_map<std::string, std::pair<cv::Scalar, cv::Scalar> > cv::gapi::onnx::detail::ParamDesc::generic_mstd |
| std::unordered_map<std::string, bool> cv::gapi::onnx::detail::ParamDesc::generic_norm |
| std::vector<std::string> cv::gapi::onnx::detail::ParamDesc::input_names |
入力ネットワークレイヤーの名前。
| bool cv::gapi::onnx::detail::ParamDesc::is_generic |
| std::vector<cv::Scalar> cv::gapi::onnx::detail::ParamDesc::mean |
前処理用の平均値。
| std::string cv::gapi::onnx::detail::ParamDesc::model_path |
モデルへのパス。
| std::vector<std::string> cv::gapi::onnx::detail::ParamDesc::names_to_remap |
PostProc関数で処理される出力レイヤの名前。
| std::vector<bool> cv::gapi::onnx::detail::ParamDesc::normalize |
入力データの正規化を有効または無効にするbool値のベクトル。
| std::size_t cv::gapi::onnx::detail::ParamDesc::num_in |
この演算で定義されている入力の数。
| std::size_t cv::gapi::onnx::detail::ParamDesc::num_out |
この演算で定義されている出力の数。
| cv::util::optional<int> cv::gapi::onnx::detail::ParamDesc::opt_level |
| std::vector<cv::GMatDesc> cv::gapi::onnx::detail::ParamDesc::out_metas |
出力に関するメタ情報(型、次元)。
| std::vector<std::string> cv::gapi::onnx::detail::ParamDesc::output_names |
出力ネットワークレイヤの名前。
| std::map<std::string, std::string> cv::gapi::onnx::detail::ParamDesc::session_options |
| std::vector<cv::Scalar> cv::gapi::onnx::detail::ParamDesc::stdev |
前処理用の標準偏差の値。