Fix cyclic graph export

Context

The MR is linked to !525, which fixes the export of cyclic graphs with XNNPACK by introducing the in_node_name attribute.

This MR completes the fix by updating the Jinja templates to use this new attribute.

Modified files:

  1. conv2d_act_nhwc_f32.jinja, conv2d_nhwc_f32.jinja and fc_f32.jinja: Replaced in_node[n].name() with in_node_name[n] to correctly resolve parent node names when exporting cyclic/unrolled graphs.

  2. export_utils.py: Updated the project name from xnnpack_demo to run_export to be consistent with export_cpp (see !525).

  3. avgpool.py, globalavgpool.py, maxpool.py, softmax.py and unary.py : Fix the dformat of these operators

Edited by Pierre Chouteau

Merge request reports

Loading