diff --git a/include/aidge/graph/GraphView.hpp b/include/aidge/graph/GraphView.hpp index 3b3f9fb6d05426d6438f06924ea21e19e287ce5d..bf23ef9f0957f15538986739a8f3086373879efc 100644 --- a/include/aidge/graph/GraphView.hpp +++ b/include/aidge/graph/GraphView.hpp @@ -405,11 +405,6 @@ public: */ static bool replace(const std::set<NodePtr>& oldNodes, const std::set<NodePtr>& newNodes); - /** - * @brief Replace a set of Nodes in every available GraphView with a new set of Nodes with ordered inputs/outputs in a GraphView if possible. - */ - static bool replace(const std::shared_ptr<GraphView>& oldNodes, const std::shared_ptr<GraphView>& newNodes); - /** * @brief Clone the GraphView with shared Operators. It is a new GraphView, with cloned Nodes, but the new Nodes refer to the same Operators as the original ones. * @return std::shared_ptr<GraphView> diff --git a/python_binding/graph/pybind_GraphView.cpp b/python_binding/graph/pybind_GraphView.cpp index 61392470adaeb7db8812a3063edc5f8eee1d3083..195e2740b75f9dca72046650469a31fab853cbeb 100644 --- a/python_binding/graph/pybind_GraphView.cpp +++ b/python_binding/graph/pybind_GraphView.cpp @@ -56,7 +56,7 @@ void init_GraphView(py::module& m) { :type include_learnable_parameters: bool, optional )mydelimiter") - .def("add", (void (GraphView::*)(std::shared_ptr<GraphView>)) & GraphView::add, + .def("add", (bool (GraphView::*)(std::shared_ptr<GraphView>)) & GraphView::add, py::arg("other_graph"), R"mydelimiter( Include a GraphView to the current GraphView object. diff --git a/python_binding/operator/pybind_MetaOperatorDefs.cpp b/python_binding/operator/pybind_MetaOperatorDefs.cpp index 6df5a43f64bf8335108ccd99a1588a1367955b77..ef027af7d81be938468da10728137e1aee62058d 100644 --- a/python_binding/operator/pybind_MetaOperatorDefs.cpp +++ b/python_binding/operator/pybind_MetaOperatorDefs.cpp @@ -127,9 +127,7 @@ void init_MetaOperatorDefs(py::module &m) { m.def("meta_operator", &MetaOperator, py::arg("type"), py::arg("graph"), - py::arg("name") = "", - py::arg("input_nodes") = std::vector<NodePtr>(), - py::arg("output_nodes") = std::vector<NodePtr>() + py::arg("name") = "" ); }