Skip to content
Snippets Groups Projects

Add pybind recipes for constant_folding and debug log for node_export.py

Closed Wissam Boussella requested to merge wboussella/aidge_core:pybind_and_export into dev
Files
2
@@ -426,7 +426,12 @@ class ExportNodeCpp(ExportNode):
)
kernel_include_list.append(
self.kernels_path + "/" + kernel_path.stem + kernel_path.suffix)
if kernel_path.suffix in ["h", "hpp"]:
kernel_include_list.append(
self.kernels_path + "/" + kernel_path.stem + kernel_path.suffix)
else : aidge_core.Log.debug(f"Did not copy {kernel_path.stem} because suffix is {kernel_path.suffix}, which is not 'h' or 'hpp'.")
if self.config_template != "":
path_to_definition = f"{self.config_path}/{self.attributes['name']}.{self.config_extension}"
Loading