Skip to content

test_export broken

What commit version of aidge do you use

  • aidge_core: dev f0b3f5f9730e01363c6789239e44041311b5241d
  • aidge_export_cpp: dev 14adfae5

I just pulled and did setup.sh for all aidge branches, on dev.

Problem description

EDIT : should be fixed in !64 (closed)

test_export.py Fails for almost all operators on my side, with various "redefinition" errors like :

In file included from dnn/src/forward.cpp:16:
./dnn/include/parameters/_0_PaddedConvDepthWise2D_0_weights.h:3:20: error: redefinition of const float _0_PaddedConvDepthWise2D_0_weights_output_0 [105]
    3 | static const float _0_PaddedConvDepthWise2D_0_weights_output_0[3*1*7*5] __attribute__((section(".nn_data"))) =
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./dnn/include/forward.hpp:5,
                 from dnn/src/forward.cpp:12:
./dnn/include/parameters/_0_PaddedConvDepthWise2D_0_weights.h:3:20: note: const float _0_PaddedConvDepthWise2D_0_weights_output_0 [105] previously defined here
    3 | static const float _0_PaddedConvDepthWise2D_0_weights_output_0[3*1*7*5] __attribute__((section(".nn_data"))) =
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Edited by Louis Lerbourg