Mark as deprecated nGraph API (#17647)
* Mark as deprecated nGraph API * Fixed code style * Added IN_OV_LIBRARY define * Suppress warnings for log * Suppress warning * Updated nGraph headers * Fixed build for macOS * Fixed lpt and snippets * Fixed build all on macOS * Suppress some warnings * Fixed some new warnings * Fixed new warnings * Try to fix some warnings * More warnings * Soome change * Suppress more warnings * Suppress warnings for transformations * Suppress warnings for LPT * One more fix * Suppress more warnings * Try to fix opset error * Remove opset constructor * Cannot fix opset warning * Suppress warnings for offline transfromations * Fixed some warnings for Windows * Fixed code style * Suppress some warnings for onnx FE * Revert "Suppress some warnings for onnx FE" This reverts commit75d23b64fc. * Revert "Fixed code style" This reverts commitc6eba63116. * Revert "Fixed some warnings for Windows" This reverts commit23d7ed88b6. * Revert "Suppress warnings for offline transfromations" This reverts commit0b9f6317bf. * Revert "Cannot fix opset warning" This reverts commit19ea658639. * Revert "Remove opset constructor" This reverts commit06afb1bc20. * Revert "Suppress warnings for LPT" This reverts commit58b1c0f5a0. * Revert "Suppress warnings for transformations" This reverts commitf8bb9814a1. * Revert "Suppress more warnings" This reverts commitf9f0da9acb. * Revert "Soome change" This reverts commite545d4984e. * Remove deprecation for ngraph::OpSet and FactoryRegistry
This commit is contained in:
@@ -18,12 +18,12 @@
|
||||
|
||||
#include "dict_attribute_visitor.hpp"
|
||||
#include "ngraph/check.hpp"
|
||||
#include "ngraph/log.hpp"
|
||||
#include "openvino/core/except.hpp"
|
||||
#include "openvino/core/node.hpp"
|
||||
#include "openvino/op/util/op_types.hpp"
|
||||
#include "openvino/op/util/variable.hpp"
|
||||
#include "openvino/opsets/opset.hpp"
|
||||
#include "openvino/util/log.hpp"
|
||||
#include "pyopenvino/core/common.hpp"
|
||||
|
||||
namespace py = pybind11;
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
"Currently NodeFactory doesn't support Constant node: ",
|
||||
op_type_name);
|
||||
|
||||
NGRAPH_WARN << "Empty op created! Please assign inputs and attributes and run validate() before op is used.";
|
||||
OPENVINO_WARN << "Empty op created! Please assign inputs and attributes and run validate() before op is used.";
|
||||
|
||||
return op_node;
|
||||
}
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "ngraph/log.hpp"
|
||||
#include "openvino/core/node.hpp"
|
||||
#include "openvino/op/util/multi_subgraph_base.hpp"
|
||||
#include "openvino/util/log.hpp"
|
||||
#include "pyopenvino/core/common.hpp"
|
||||
#include "pyopenvino/graph/ops/if.hpp"
|
||||
#include "pyopenvino/graph/ops/util/multisubgraph.hpp"
|
||||
@@ -24,8 +24,8 @@ void regclass_graph_op_If(py::module m) {
|
||||
if (MultiSubgraphHelpers::is_constant_or_parameter(execution_condition)) {
|
||||
return std::make_shared<ov::op::v8::If>(execution_condition->output(0));
|
||||
} else {
|
||||
NGRAPH_WARN << "Please specify execution_condition as Constant or Parameter. Default If() "
|
||||
"constructor was applied.";
|
||||
OPENVINO_WARN << "Please specify execution_condition as Constant or Parameter. Default If() "
|
||||
"constructor was applied.";
|
||||
return std::make_shared<ov::op::v8::If>();
|
||||
}
|
||||
}),
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "ngraph/log.hpp"
|
||||
#include "openvino/core/node.hpp"
|
||||
#include "openvino/op/loop.hpp"
|
||||
#include "openvino/util/log.hpp"
|
||||
#include "pyopenvino/core/common.hpp"
|
||||
#include "pyopenvino/graph/ops/util/multisubgraph.hpp"
|
||||
|
||||
@@ -28,7 +28,7 @@ void regclass_graph_op_Loop(py::module m) {
|
||||
MultiSubgraphHelpers::is_constant_or_parameter(execution_condition)) {
|
||||
return std::make_shared<ov::op::v5::Loop>(trip_count->output(0), execution_condition->output(0));
|
||||
} else {
|
||||
NGRAPH_WARN
|
||||
OPENVINO_WARN
|
||||
<< "Please specify execution_condition and trip_count as Constant or Parameter. Default Loop() "
|
||||
"constructor was applied.";
|
||||
return std::make_shared<ov::op::v5::Loop>();
|
||||
|
||||
Reference in New Issue
Block a user