OpenCV  4.5.1
Open Source Computer Vision
Public Member Functions | Protected Attributes | List of all members
cv::gapi::onnx::Params< Net > Class Template Reference

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

Public Member Functions

 Params (const std::string &model)
 
GBackend backend () const
 
Params< Net > & cfgInputLayers (const typename PortCfg< Net >::In &ll)
 
Params< Net > & cfgMeanStd (const typename PortCfg< Net >::NormCoefs &m, const typename PortCfg< Net >::NormCoefs &s)
 
Params< Net > & cfgNormalize (const typename PortCfg< Net >::Normalize &n)
 
Params< Net > & cfgOutputLayers (const typename PortCfg< Net >::Out &ll)
 
Params< Net > & cfgPostProc (const std::vector< cv::GMatDesc > &outs, const PostProc &pp)
 
Params< Net > & constInput (const std::string &layer_name, const cv::Mat &data, TraitAs hint=TraitAs::TENSOR)
 
cv::util::any params () const
 
std::string tag () const
 

Protected Attributes

detail::ParamDesc desc
 

Constructor & Destructor Documentation

◆ Params()

template<typename Net >
cv::gapi::onnx::Params< Net >::Params ( const std::string &  model)
inline

Member Function Documentation

◆ backend()

template<typename Net >
GBackend cv::gapi::onnx::Params< Net >::backend ( ) const
inline

◆ cfgInputLayers()

template<typename Net >
Params<Net>& cv::gapi::onnx::Params< Net >::cfgInputLayers ( const typename PortCfg< Net >::In &  ll)
inline

◆ cfgMeanStd()

template<typename Net >
Params<Net>& cv::gapi::onnx::Params< Net >::cfgMeanStd ( const typename PortCfg< Net >::NormCoefs &  m,
const typename PortCfg< Net >::NormCoefs &  s 
)
inline

◆ cfgNormalize()

template<typename Net >
Params<Net>& cv::gapi::onnx::Params< Net >::cfgNormalize ( const typename PortCfg< Net >::Normalize &  n)
inline

◆ cfgOutputLayers()

template<typename Net >
Params<Net>& cv::gapi::onnx::Params< Net >::cfgOutputLayers ( const typename PortCfg< Net >::Out &  ll)
inline

◆ cfgPostProc()

template<typename Net >
Params<Net>& cv::gapi::onnx::Params< Net >::cfgPostProc ( const std::vector< cv::GMatDesc > &  outs,
const PostProc pp 
)
inline

◆ constInput()

template<typename Net >
Params<Net>& cv::gapi::onnx::Params< Net >::constInput ( const std::string &  layer_name,
const cv::Mat data,
TraitAs  hint = TraitAs::TENSOR 
)
inline

◆ params()

template<typename Net >
cv::util::any cv::gapi::onnx::Params< Net >::params ( ) const
inline

◆ tag()

template<typename Net >
std::string cv::gapi::onnx::Params< Net >::tag ( ) const
inline

Member Data Documentation

◆ desc

template<typename Net >
detail::ParamDesc cv::gapi::onnx::Params< Net >::desc
protected

The documentation for this class was generated from the following file: