#include <opencv2/gapi/infer/ie.hpp>
|
| Params (const std::string &tag, const std::string &model, const std::string &weights, const std::string &device) |
| Class constructor. More...
|
|
| Params (const std::string &tag, const std::string &model, const std::string &device) |
|
GBackend | backend () const |
|
Params & | cfgBatchSize (const size_t size) |
|
Params & | cfgInferMode (InferMode mode) |
|
Params & | cfgInputLayout (std::string layout) |
|
Params & | cfgInputLayout (detail::AttrMap< std::string > layout_map) |
|
Params & | cfgInputReshape (const std::map< std::string, std::vector< std::size_t >> &reshape_table) |
|
Params & | cfgInputReshape (std::map< std::string, std::vector< std::size_t >> &&reshape_table) |
|
Params & | cfgInputReshape (std::string &&layer_name, std::vector< size_t > &&layer_dims) |
|
Params & | cfgInputReshape (const std::string &layer_name, const std::vector< size_t > &layer_dims) |
|
Params & | cfgInputReshape (std::unordered_set< std::string > &&layer_names) |
|
Params & | cfgInputReshape (const std::unordered_set< std::string > &layer_names) |
|
Params & | cfgNumRequests (size_t nireq) |
|
Params & | cfgOutputLayout (std::string layout) |
|
Params & | cfgOutputLayout (detail::AttrMap< std::string > layout_map) |
|
Params & | cfgOutputPrecision (detail::ParamDesc::PrecisionT precision) |
|
Params & | cfgOutputPrecision (detail::ParamDesc::PrecisionMapT precision_map) |
|
Params & | cfgResize (int interpolation) |
|
Params & | cfgResize (detail::AttrMap< int > interpolation) |
|
Params & | constInput (const std::string &layer_name, const cv::Mat &data, TraitAs hint=TraitAs::TENSOR) |
|
cv::util::any | params () const |
|
Params & | pluginConfig (const IEConfig &cfg) |
|
Params & | pluginConfig (IEConfig &&cfg) |
|
std::string | tag () const |
|
◆ Params() [1/2]
Class constructor.
Constructs Params based on model information and sets default values for other inference description parameters. Model is loaded and compiled using OpenVINO Toolkit.
- Parameters
-
tag | string tag of the network for which these parameters are intended. |
model | path to topology IR (.xml file). |
weights | path to weights (.bin file). |
device | target device to use. |
◆ Params() [2/2]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
This constructor for pre-compiled networks. Model is imported from pre-compiled blob.
- Parameters
-
tag | string tag of the network for which these parameters are intended. |
model | path to model. |
device | target device to use. |
◆ backend()
◆ cfgBatchSize()
◆ cfgInferMode()
- See also
- ie::Params::cfgInferAPI
◆ cfgInputLayout() [1/2]
◆ cfgInputLayout() [2/2]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ cfgInputReshape() [1/6]
◆ cfgInputReshape() [2/6]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ cfgInputReshape() [3/6]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ cfgInputReshape() [4/6]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ cfgInputReshape() [5/6]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ cfgInputReshape() [6/6]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ cfgNumRequests()
◆ cfgOutputLayout() [1/2]
◆ cfgOutputLayout() [2/2]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ cfgOutputPrecision() [1/2]
◆ cfgOutputPrecision() [2/2]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ cfgResize() [1/2]
◆ cfgResize() [2/2]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ constInput()
◆ params()
◆ pluginConfig() [1/2]
◆ pluginConfig() [2/2]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ tag()
◆ desc
◆ m_tag
The documentation for this class was generated from the following file: