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

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

Public Member Functions

 Params (const std::string &model, const std::string &weights, const std::string &device)
 
 Params (const std::string &model, const std::string &device)
 
GBackend backend () const
 
Params< Net > & cfgInputLayers (const typename PortCfg< Net >::In &ll)
 
Params< Net > & cfgInputReshape (std::map< std::string, std::vector< std::size_t >> &&reshape_table)
 
Params< Net > & cfgInputReshape (const std::map< std::string, std::vector< std::size_t >> &reshape_table)
 
Params< Net > & cfgInputReshape (std::string &&layer_name, std::vector< size_t > &&layer_dims)
 
Params< Net > & cfgInputReshape (const std::string &layer_name, const std::vector< size_t > &layer_dims)
 
Params< Net > & cfgInputReshape (std::unordered_set< std::string > &&layer_names)
 
Params< Net > & cfgInputReshape (const std::unordered_set< std::string > &layer_names)
 
ParamscfgNumRequests (size_t nireq)
 
Params< Net > & cfgOutputLayers (const typename PortCfg< Net >::Out &ll)
 
Params< Net > & constInput (const std::string &layer_name, const cv::Mat &data, TraitAs hint=TraitAs::TENSOR)
 
cv::util::any params () const
 
ParamspluginConfig (IEConfig &&cfg)
 
ParamspluginConfig (const IEConfig &cfg)
 
std::string tag () const
 

Protected Attributes

detail::ParamDesc desc
 

Constructor & Destructor Documentation

◆ Params() [1/2]

template<typename Net >
cv::gapi::ie::Params< Net >::Params ( const std::string &  model,
const std::string &  weights,
const std::string &  device 
)
inline

◆ Params() [2/2]

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

Member Function Documentation

◆ backend()

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

◆ cfgInputLayers()

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

◆ cfgInputReshape() [1/6]

template<typename Net >
Params<Net>& cv::gapi::ie::Params< Net >::cfgInputReshape ( std::map< std::string, std::vector< std::size_t >> &&  reshape_table)
inline

◆ cfgInputReshape() [2/6]

template<typename Net >
Params<Net>& cv::gapi::ie::Params< Net >::cfgInputReshape ( const std::map< std::string, std::vector< std::size_t >> &  reshape_table)
inline

◆ cfgInputReshape() [3/6]

template<typename Net >
Params<Net>& cv::gapi::ie::Params< Net >::cfgInputReshape ( std::string &&  layer_name,
std::vector< size_t > &&  layer_dims 
)
inline

◆ cfgInputReshape() [4/6]

template<typename Net >
Params<Net>& cv::gapi::ie::Params< Net >::cfgInputReshape ( const std::string &  layer_name,
const std::vector< size_t > &  layer_dims 
)
inline

◆ cfgInputReshape() [5/6]

template<typename Net >
Params<Net>& cv::gapi::ie::Params< Net >::cfgInputReshape ( std::unordered_set< std::string > &&  layer_names)
inline

◆ cfgInputReshape() [6/6]

template<typename Net >
Params<Net>& cv::gapi::ie::Params< Net >::cfgInputReshape ( const std::unordered_set< std::string > &  layer_names)
inline

◆ cfgNumRequests()

template<typename Net >
Params& cv::gapi::ie::Params< Net >::cfgNumRequests ( size_t  nireq)
inline

◆ cfgOutputLayers()

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

◆ constInput()

template<typename Net >
Params<Net>& cv::gapi::ie::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::ie::Params< Net >::params ( ) const
inline

◆ pluginConfig() [1/2]

template<typename Net >
Params& cv::gapi::ie::Params< Net >::pluginConfig ( IEConfig &&  cfg)
inline

◆ pluginConfig() [2/2]

template<typename Net >
Params& cv::gapi::ie::Params< Net >::pluginConfig ( const IEConfig cfg)
inline

◆ tag()

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

Member Data Documentation

◆ desc

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

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