Replaced copy_with_new_args() to clone_with_new_inputs() (#1395)

This commit is contained in:
Ilya Churaev
2020-07-22 13:44:22 +03:00
committed by GitHub
parent 821a3dae32
commit 141b24cf44
63 changed files with 64 additions and 151 deletions

View File

@@ -131,7 +131,7 @@ public:
set_output_type(0, get_input_element_type(0), ngraph::PartialShape(output_shape));
}
std::shared_ptr<ngraph::Node> copy_with_new_args(const ngraph::NodeVector& new_args) const override {
std::shared_ptr<ngraph::Node> clone_with_new_inputs(const ngraph::OutputVector& new_args) const override {
if (new_args.size() != 1) {
throw ngraph::ngraph_error("Incorrect number of new arguments");
}