Struct InferenceEngine::PerfHintsConfig¶
-
struct PerfHintsConfig¶
Public Functions
-
inline void SetConfig(const std::string &key, const std::string &value)¶
Parses configuration key/value pair.
- Parameters
key – configuration key
value – configuration values
-
inline Parameter GetConfig(const std::string &key)¶
Return configuration value.
- Parameters
key – configuration key
- Returns
configuration value wrapped into Parameter
Public Static Functions
-
static inline std::vector<std::string> SupportedKeys()¶
Supported Configuration keys.
- Returns
vector of supported configuration keys
-
static inline void CheckConfigAndValue(std::pair<const std::string, const std::string&> kvp)¶
Checks configuration key and value, otherwise throws.
- Parameters
configuration – key + value
- Returns
void
-
static inline std::string CheckPerformanceHintValue(const std::string &val)¶
Returns configuration value if it is valid, otherwise throws.
- Parameters
configuration – value
- Returns
configuration value
-
static inline int CheckPerformanceHintRequestValue(const std::string &val)¶
Returns configuration value if it is valid, otherwise throws.
- Parameters
configuration – value as string
- Returns
configuration value as number
-
inline void SetConfig(const std::string &key, const std::string &value)¶