Skip to content

Inputs were not identified as such in some export cases

Axel Farrugia requested to merge axelfarr/aidge_core:fix_export into dev

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_inputhas been created and binded to be used in scheduler_export.pyand 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 and pybind_Operator.cpp : Function isOptionalInput()
  • scheduler_export.py : is_input condition export issue
Edited by Axel Farrugia

Merge request reports

Loading