Inputs were not identified as such in some export cases
Context
This MR fixes the float precision within the function ptrToString()
. This aims to give more precise results when printing float elements.
Also there was an issue with inputs which were not considered as inputs by the scheduler export after some graph manipulations. The function is_optional_input
has been created and binded to be used in scheduler_export.py
and fix this issue.
In order to better identify the optional inputs, they are now displayed with dot arrows on generated mermaid graphs.
Also change the node names as the #
symbol is not supported in files names (generated during the export phase).
Modified files
-
GraphView.cpp
: Mermaid and node names -
Operator.hpp
andpybind_Operator.cpp
: Function isOptionalInput() -
scheduler_export.py
:is_input
condition export issue
Edited by Axel Farrugia