Skip to content

Export bug conv2D when not naming biases

What commit version of aidge do you use

  • aidge_core: 82dba706e8ea2adf6558560ef4a0e67e42176dfe
  • aidge_export_cpp: dev 52348ca9
  • On both main and dev

Problem description

Conv2D biases are missing when not naming them with aidge_export_cpp.export_utils.set_nodes_names(s)

Reproducible example code

  1. Create a conv2D graph
  2. Set the input / weights / biases value.
  3. Schedule / Forward
  4. Export the graph to export_conv2d_0
  5. Use set_nodes_names on the scheduler, and export it to export_conv2d_1.

Result : export_conv2d_0 output is wrong because biases are missing from the parametersfolder. export_conv2d_1 works as expected.

Straightforward code :

test_conv2d_export.py