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 PyParamscfgAddExecutionProvider (ep::CUDA ep)
 
GAPI_WRAP PyParamscfgAddExecutionProvider (ep::DirectML ep)
 
GAPI_WRAP PyParamscfgAddExecutionProvider (ep::OpenVINO ep)
 
GAPI_WRAP PyParamscfgAddExecutionProvider (ep::TensorRT ep)
 
GAPI_WRAP PyParamscfgDisableMemPattern ()
 
GAPI_WRAP PyParamscfgMeanStd (const std::string &layer_name, const cv::Scalar &m, const cv::Scalar &s)
 
GAPI_WRAP PyParamscfgNormalize (const std::string &layer_name, bool flag)
 
cv::util::any params () const
 
std::string tag () const
 

Constructor & Destructor Documentation

◆ PyParams() [1/2]

GAPI_WRAP cv::gapi::onnx::PyParams::PyParams ( )
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]

GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgAddExecutionProvider ( ep::CUDA  ep)

◆ 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()

GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::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: