Revert "OV2.0 c++ configuration API (#9829)" (#9860)

This reverts commit 50da8c4aed.
This commit is contained in:
Alexander Zhogov
2022-01-24 11:29:09 +03:00
committed by GitHub
parent b738983c1f
commit 6c2d1e923c
154 changed files with 869 additions and 2034 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_property(device, METRIC_KEY(FULL_DEVICE_NAME));
p = core.get_metric(device, METRIC_KEY(FULL_DEVICE_NAME));
return p.as<std::string>();
} catch (ov::Exception&) {
return "";