Deprecate ExecutableNetwork and InferRequest API (#17801)

* Deprecate ExecutableNetwork and InferRequest API

* Fixed some warnings

* Fixed some warnings

* Try to fix documentation

* Try to skip documentation warnings
This commit is contained in:
Ilya Churaev
2023-06-01 12:50:56 +04:00
committed by GitHub
parent d53339ff67
commit 18d6ece4e4
14 changed files with 178 additions and 30 deletions

View File

@@ -309,6 +309,7 @@ int main(int argc, char* argv[]) {
slog::info << "Extensions are loaded: " << FLAGS_extensions << slog::endl;
}
OPENVINO_SUPPRESS_DEPRECATED_START
// Load clDNN Extensions
if ((FLAGS_d.find("GPU") != std::string::npos) && !FLAGS_c.empty()) {
// Override config if command line parameter is specified
@@ -321,6 +322,7 @@ int main(int argc, char* argv[]) {
core.set_property("GPU", {{CONFIG_KEY(CONFIG_FILE), ext}});
slog::info << "GPU extensions are loaded: " << ext << slog::endl;
}
OPENVINO_SUPPRESS_DEPRECATED_END
slog::info << "OpenVINO:" << slog::endl;
slog::info << ov::get_openvino_version() << slog::endl;
@@ -842,10 +844,12 @@ int main(int argc, char* argv[]) {
for (auto& item : devices_properties) {
slog::info << " " << item.first << ": " << slog::endl;
for (auto& item2 : item.second.as<ov::AnyMap>()) {
OPENVINO_SUPPRESS_DEPRECATED_START
if (item2.first == ov::supported_properties ||
item2.first == METRIC_KEY(SUPPORTED_CONFIG_KEYS) ||
item2.first == METRIC_KEY(SUPPORTED_METRICS))
continue;
OPENVINO_SUPPRESS_DEPRECATED_END
slog::info << " " << item2.first << ": " << item2.second.as<std::string>() << slog::endl;
}
}