Skip to content

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

Iryna DE ALBUQUERQUE SILVA requested to merge idealbuq/aidge_core:dev into dev

Context

The previous code of 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 Iryna DE ALBUQUERQUE SILVA

Merge request reports

Loading