|
11 | 11 | #pragma GCC diagnostic ignored "-Wunused-parameter"
|
12 | 12 | #endif
|
13 | 13 |
|
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> |
| 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 | 18 |
|
19 |
| -#undef NGRAPH_LEGACY_HEADER_INCLUDED |
20 |
| -#undef IN_OV_COMPONENT |
| 19 | +// #undef NGRAPH_LEGACY_HEADER_INCLUDED |
| 20 | +// #undef IN_OV_COMPONENT |
21 | 21 |
|
22 | 22 | #if defined(_MSC_VER)
|
23 | 23 | #pragma warning(default : 4244 4245)
|
@@ -95,19 +95,19 @@ int GetOnnxOpSet(const GraphViewer& graph_viewer) {
|
95 | 95 | return dm_to_ver.at(kOnnxDomain);
|
96 | 96 | }
|
97 | 97 |
|
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)); |
| 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 | 102 |
|
103 |
| - const std::set<std::string> ng_disabled_ops = {"LSTM"}; // Place-holder for ops not supported. |
| 103 | +// const std::set<std::string> ng_disabled_ops = {"LSTM"}; // Place-holder for ops not supported. |
104 | 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 |
| -} |
| 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 | 111 |
|
112 | 112 | /**
|
113 | 113 | * Returns a vector clusters(or node_idx). For each unsupported node, the graph is split into 3 parts.
|
|
0 commit comments