Skip to content

Commit

Permalink
Remove deprecated code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vthaniel committed Feb 22, 2024
1 parent 49fbc5e commit 923ada9
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions onnxruntime/core/providers/openvino/ov_versions/utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <ngraph/frontend/onnx_import/onnx.hpp>

// #undef NGRAPH_LEGACY_HEADER_INCLUDED
// #undef IN_OV_COMPONENT

#if defined(_MSC_VER)
#pragma warning(default : 4244 4245)
#elif __GNUC__
Expand Down Expand Up @@ -95,20 +87,6 @@ int GetOnnxOpSet(const GraphViewer& graph_viewer) {
return dm_to_ver.at(kOnnxDomain);
}

// std::map<std::string, std::set<std::string>> GetNgSupportedOps(const int onnx_opset) {
// std::map<std::string, std::set<std::string>> ng_supported_ops;
// OPENVINO_SUPPRESS_DEPRECATED_START
// ng_supported_ops.emplace(kOnnxDomain, ngraph::onnx_import::get_supported_operators(onnx_opset, kOnnxDomain));

// const std::set<std::string> 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
Expand Down

0 comments on commit 923ada9

Please sign in to comment.