Loading...
Searching...
No Matches
cv::gapi::onnx::Params< cv::gapi::Generic > Class Reference
#include <opencv2/gapi/infer/onnx.hpp>
Public Member Functions | |
Params (const std::string &tag, const std::string &model_path) | |
Class constructor. | |
GBackend | backend () const |
void | cfgAddExecutionProvider (ep::CUDA &&ep) |
void | cfgAddExecutionProvider (ep::DirectML &&ep) |
void | cfgAddExecutionProvider (ep::OpenVINO &&ep) |
void | cfgAddExecutionProvider (ep::TensorRT &&ep) |
void | cfgDisableMemPattern () |
void | cfgMeanStdDev (const std::string &layer, const cv::Scalar &m, const cv::Scalar &s) |
void | cfgNormalize (const std::string &layer, bool flag) |
cv::util::any | params () const |
std::string | tag () const |
Protected Attributes | |
detail::ParamDesc | desc |
std::string | m_tag |
Constructor & Destructor Documentation
◆ Params()
|
inline |
Class constructor.
Constructs Params based on input information and sets default values for other inference description parameters.
- Parameters
-
tag string tag of the network for which these parameters are intended. model_path path to model file (.onnx file).
Member Function Documentation
◆ backend()
|
inline |
◆ cfgAddExecutionProvider() [1/4]
|
inline |
◆ cfgAddExecutionProvider() [2/4]
|
inline |
◆ cfgAddExecutionProvider() [3/4]
|
inline |
◆ cfgAddExecutionProvider() [4/4]
|
inline |
◆ cfgDisableMemPattern()
|
inline |
- See also
- onnx::Params::cfgDisableMemPattern.
◆ cfgMeanStdDev()
|
inline |
- See also
- onnx::Params::cfgMeanStdDev.
◆ cfgNormalize()
|
inline |
- See also
- onnx::Params::cfgNormalize.
◆ params()
|
inline |
◆ tag()
|
inline |
Member Data Documentation
◆ desc
|
protected |
◆ m_tag
|
protected |
The documentation for this class was generated from the following file:
- opencv2/gapi/infer/onnx.hpp