Skip to content
Snippets Groups Projects

Improve Remove Flatten

Merged Cyril Moineau requested to merge ImproveRemoveFlatten into dev
1 unresolved thread
Files
5
@@ -21,7 +21,7 @@
namespace py = pybind11;
namespace Aidge {
void init_Recipes(py::module &m)
void init_Recipes(py::module &m)
{
@@ -71,9 +71,10 @@ void init_Recipes(py::module &m)
)mydelimiter");
m.def("remove_flatten", static_cast<void(*)(std::shared_ptr<GraphView>)>(removeFlatten), py::arg("graph_view"), R"mydelimiter(
Recipe to remove a flatten operator.
Recipe to remove a Flatten operator if it is followed by a FC or a MatMul.
The recipe can remove multiple Flatten operator if they are one after the other.
: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.
:type graph_view: :py:class:`aidge_core.GraphView`
)mydelimiter");
Loading