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:
@@ -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 "";
|
||||
|
||||
Reference in New Issue
Block a user