OV2.0 c++ configuration API (#9829)

* New configuration API

* Review fix

* review coments

* fixed device name map

* fixed header

* code stile

* fixed optimization capabilities

* flatten properties

* dox fix

* doc

* merge conflicts

* fixed merge conflicts

* Fixed subobject linkage warning

* foramt fix
This commit is contained in:
Anton Pankratov
2022-01-21 18:44:41 +03:00
committed by GitHub
parent cf84f43b78
commit 50da8c4aed
154 changed files with 2038 additions and 873 deletions

View File

@@ -979,7 +979,7 @@ std::map<std::string, std::string> parseConfig(const std::string& configName, ch
inline std::string getFullDeviceName(ov::Core& core, std::string device) {
ov::Any p;
try {
p = core.get_metric(device, METRIC_KEY(FULL_DEVICE_NAME));
p = core.get_property(device, METRIC_KEY(FULL_DEVICE_NAME));
return p.as<std::string>();
} catch (ov::Exception&) {
return "";