Skip to content
Snippets Groups Projects
Commit f7cea506 authored by Wissam Boussella's avatar Wissam Boussella Committed by Olivier BICHLER
Browse files

[Upd] New def for constant_folding

parent d56df46e
No related branches found
No related tags found
1 merge request!288Add pybind recipes for constant_folding and debug log for node_export.py
......@@ -25,7 +25,7 @@ namespace Aidge {
void init_Recipes(py::module &m)
{
m.def("constant_folding", static_cast<void(*)(std::shared_ptr<GraphView>)>(constantFolding), py::arg("graph_view"), R"mydelimiter(
Recipe to optimize a computational graph by repeatedly identifying nodes with constant inputs, executes them immediately, and replaces them with pre-computed constant.
Recipe to optimize graphview by repeatedly identifying nodes with constant inputs, executes them immediately, and replaces them with pre-computed constant.
:param graph_view: Graph view on which we want to apply the recipe
:type graph_view: :py:class:`aidge_core.GraphView`
)mydelimiter");
......
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