From 923ada931cfa13db860f0ca60c99b454f23756f8 Mon Sep 17 00:00:00 2001 From: vthaniel Date: Wed, 21 Feb 2024 17:05:36 -0800 Subject: [PATCH] Remove deprecated code comments --- .../providers/openvino/ov_versions/utils.cc | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/onnxruntime/core/providers/openvino/ov_versions/utils.cc b/onnxruntime/core/providers/openvino/ov_versions/utils.cc index e4bf13936cc89..d83c726fadc90 100644 --- a/onnxruntime/core/providers/openvino/ov_versions/utils.cc +++ b/onnxruntime/core/providers/openvino/ov_versions/utils.cc @@ -11,14 +11,6 @@ #pragma GCC diagnostic ignored "-Wunused-parameter" #endif -// #include "openvino/core/deprecated.hpp" -// #define IN_OV_COMPONENT -// #define NGRAPH_LEGACY_HEADER_INCLUDED -// #include - -// #undef NGRAPH_LEGACY_HEADER_INCLUDED -// #undef IN_OV_COMPONENT - #if defined(_MSC_VER) #pragma warning(default : 4244 4245) #elif __GNUC__ @@ -95,20 +87,6 @@ int GetOnnxOpSet(const GraphViewer& graph_viewer) { return dm_to_ver.at(kOnnxDomain); } -// std::map> GetNgSupportedOps(const int onnx_opset) { -// std::map> ng_supported_ops; -// OPENVINO_SUPPRESS_DEPRECATED_START -// ng_supported_ops.emplace(kOnnxDomain, ngraph::onnx_import::get_supported_operators(onnx_opset, kOnnxDomain)); - -// const std::set ng_disabled_ops = {"LSTM"}; // Place-holder for ops not supported. - -// for (const auto& disabled_op : ng_disabled_ops) { -// ng_supported_ops.at(kOnnxDomain).erase(disabled_op); -// } -// OPENVINO_SUPPRESS_DEPRECATED_END -// return ng_supported_ops; -// } - /** * Returns a vector clusters(or node_idx). For each unsupported node, the graph is split into 3 parts. * supported_cluster + (UNsupported_node + rest_of_the_graph). This functions returns vector of all supported_clusters by nGraph