From a64e9da8cbd2378a21fc46fb60f4520d9036be26 Mon Sep 17 00:00:00 2001 From: Axel Farrugia <axel.farrugia@cea.fr> Date: Fri, 21 Mar 2025 10:46:03 +0100 Subject: [PATCH] [Chore](Exports) Add SAVE_OUTPUTS and AIDGE_CMP flags on top of fwd file --- aidge_core/export_utils/templates/forward.jinja | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aidge_core/export_utils/templates/forward.jinja b/aidge_core/export_utils/templates/forward.jinja index fde4b2a13..e054c3489 100644 --- a/aidge_core/export_utils/templates/forward.jinja +++ b/aidge_core/export_utils/templates/forward.jinja @@ -1,6 +1,9 @@ #include <stdint.h> +#define SAVE_OUTPUTS false // Save the feature maps into files (Not compatible with every export) +#define AIDGE_CMP false // Compare export and aidge feature maps (Not compatible with every export) + #ifdef SAVE_OUTPUTS #include <sys/types.h> #include <sys/stat.h> @@ -30,7 +33,6 @@ void {{ func_name }} ( {{ outputs_dtype[o] }}** {{ outputs_name[o] }}_ptr{% if not loop.last %}, {% endif %} {%- endfor -%}) { - {%- for action in actions %} {{ action }} {%- endfor %} -- GitLab