Skip to content
Snippets Groups Projects

Add support for non-defined inputs and outputs of nodes in show_graphview.py.

Merged Iryna de Albuquerque Silva requested to merge idealbuq/aidge_core:dev into dev

Context

The previous code of _create_dict() function in show_graphview.py did not take into account the presence of Null inputs or outputs of a node. The expected behavior is that, when the model is compiled, the forward_dims() function is able to infer the dimensions of all tensors. However, there may be an issue in the Aidge Graphview when some inputs of the node are implicitely set to zero in ONNX and remain undefined in Aidge (see issue #232 and MR #213).

Modified files

  • aidge/aidge_core/aidge_core/show_graphview.py, added a check to verify if the node's inputs/outputs are not Null.
Edited by Maxence Naud

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading