Skip to content

Commit 923ada9

Browse files
committedFeb 22, 2024
Remove deprecated code comments

File tree

1 file changed

+0
-22
lines changed
  • onnxruntime/core/providers/openvino/ov_versions

1 file changed

+0
-22
lines changed
 

‎onnxruntime/core/providers/openvino/ov_versions/utils.cc

-22
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@
1111
#pragma GCC diagnostic ignored "-Wunused-parameter"
1212
#endif
1313

14-
// #include "openvino/core/deprecated.hpp"
15-
// #define IN_OV_COMPONENT
16-
// #define NGRAPH_LEGACY_HEADER_INCLUDED
17-
// #include <ngraph/frontend/onnx_import/onnx.hpp>
18-
19-
// #undef NGRAPH_LEGACY_HEADER_INCLUDED
20-
// #undef IN_OV_COMPONENT
21-
2214
#if defined(_MSC_VER)
2315
#pragma warning(default : 4244 4245)
2416
#elif __GNUC__
@@ -95,20 +87,6 @@ int GetOnnxOpSet(const GraphViewer& graph_viewer) {
9587
return dm_to_ver.at(kOnnxDomain);
9688
}
9789

98-
// std::map<std::string, std::set<std::string>> GetNgSupportedOps(const int onnx_opset) {
99-
// std::map<std::string, std::set<std::string>> ng_supported_ops;
100-
// OPENVINO_SUPPRESS_DEPRECATED_START
101-
// ng_supported_ops.emplace(kOnnxDomain, ngraph::onnx_import::get_supported_operators(onnx_opset, kOnnxDomain));
102-
103-
// const std::set<std::string> ng_disabled_ops = {"LSTM"}; // Place-holder for ops not supported.
104-
105-
// for (const auto& disabled_op : ng_disabled_ops) {
106-
// ng_supported_ops.at(kOnnxDomain).erase(disabled_op);
107-
// }
108-
// OPENVINO_SUPPRESS_DEPRECATED_END
109-
// return ng_supported_ops;
110-
// }
111-
11290
/**
11391
* Returns a vector clusters(or node_idx). For each unsupported node, the graph is split into 3 parts.
11492
* supported_cluster + (UNsupported_node + rest_of_the_graph). This functions returns vector of all supported_clusters by nGraph

0 commit comments

Comments
 (0)
Please sign in to comment.