Loading...
Searching...
No Matches
cv::gapi::onnx::PyParams Class Reference
#include <opencv2/gapi/infer/bindings_onnx.hpp>
Public Member Functions | |
GAPI_WRAP | PyParams ()=default |
GAPI_WRAP | PyParams (const std::string &tag, const std::string &model_path) |
GBackend | backend () const |
GAPI_WRAP PyParams & | cfgAddExecutionProvider (ep::CUDA ep) |
GAPI_WRAP PyParams & | cfgAddExecutionProvider (ep::DirectML ep) |
GAPI_WRAP PyParams & | cfgAddExecutionProvider (ep::OpenVINO ep) |
GAPI_WRAP PyParams & | cfgAddExecutionProvider (ep::TensorRT ep) |
GAPI_WRAP PyParams & | cfgDisableMemPattern () |
GAPI_WRAP PyParams & | cfgMeanStd (const std::string &layer_name, const cv::Scalar &m, const cv::Scalar &s) |
GAPI_WRAP PyParams & | cfgNormalize (const std::string &layer_name, bool flag) |
cv::util::any | params () const |
std::string | tag () const |
Constructor & Destructor Documentation
◆ PyParams() [1/2]
|
default |
◆ PyParams() [2/2]
GAPI_WRAP cv::gapi::onnx::PyParams::PyParams | ( | const std::string & | tag, |
const std::string & | model_path | ||
) |
Member Function Documentation
◆ backend()
GBackend cv::gapi::onnx::PyParams::backend | ( | ) | const |
◆ cfgAddExecutionProvider() [1/4]
◆ cfgAddExecutionProvider() [2/4]
GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgAddExecutionProvider | ( | ep::DirectML | ep | ) |
◆ cfgAddExecutionProvider() [3/4]
GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgAddExecutionProvider | ( | ep::OpenVINO | ep | ) |
◆ cfgAddExecutionProvider() [4/4]
GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgAddExecutionProvider | ( | ep::TensorRT | ep | ) |
◆ cfgDisableMemPattern()
◆ cfgMeanStd()
GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgMeanStd | ( | const std::string & | layer_name, |
const cv::Scalar & | m, | ||
const cv::Scalar & | s | ||
) |
◆ cfgNormalize()
GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgNormalize | ( | const std::string & | layer_name, |
bool | flag | ||
) |
◆ params()
cv::util::any cv::gapi::onnx::PyParams::params | ( | ) | const |
◆ tag()
std::string cv::gapi::onnx::PyParams::tag | ( | ) | const |
The documentation for this class was generated from the following file:
- opencv2/gapi/infer/bindings_onnx.hpp