Skip to content
Snippets Groups Projects
Commit b316b3f0 authored by Maxence Naud's avatar Maxence Naud
Browse files

upd Python binding of fold_constantOfShape

parent 3e1a526d
No related branches found
No related tags found
1 merge request!357[upd] 'removeConstantOfShape' recipe
Pipeline #66515 canceled
...@@ -79,7 +79,7 @@ void init_Recipes(py::module &m) ...@@ -79,7 +79,7 @@ void init_Recipes(py::module &m)
:type graph_view: :py:class:`aidge_core.GraphView` :type graph_view: :py:class:`aidge_core.GraphView`
)mydelimiter"); )mydelimiter");
m.def("remove_constantOfShape", static_cast<size_t(*)(std::shared_ptr<GraphView>)>(removeConstantOfShape), py::arg("graph_view"), R"mydelimiter( m.def("fold_constantOfShape", static_cast<size_t(*)(std::shared_ptr<GraphView>)>(foldConstantOfShape), py::arg("graph_view"), R"mydelimiter(
Fuses constant => Generic | constantOfShape and transforms it into a Producer Fuses constant => Generic | constantOfShape and transforms it into a Producer
:param graph_view: Graph view on which we want to apply the recipe. :param graph_view: Graph view on which we want to apply the recipe.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment