From 9fc76615f2efcb283fd5d2c3ceb1a2170b5ab665 Mon Sep 17 00:00:00 2001 From: Matthew Newson <matthew.newson@cea.fr> Date: Tue, 1 Apr 2025 07:44:24 +0000 Subject: [PATCH] Delete debug includes --- aidge_export_cpp/kernels/add.hpp | 3 --- aidge_export_cpp/kernels/batchnorm.hpp | 1 - aidge_export_cpp/kernels/convolution_groups.hpp | 1 - aidge_export_cpp/kernels/erf.hpp | 7 +++---- aidge_export_cpp/kernels/matmul.hpp | 2 +- 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/aidge_export_cpp/kernels/add.hpp b/aidge_export_cpp/kernels/add.hpp index 03ba2c5..eb8a93b 100644 --- a/aidge_export_cpp/kernels/add.hpp +++ b/aidge_export_cpp/kernels/add.hpp @@ -3,9 +3,6 @@ #include "network/typedefs.hpp" #include "kernels/activation.hpp" -#include <iostream> -#include <cassert> - template<int NB_ELTS, diff --git a/aidge_export_cpp/kernels/batchnorm.hpp b/aidge_export_cpp/kernels/batchnorm.hpp index 0ed5080..201ef16 100644 --- a/aidge_export_cpp/kernels/batchnorm.hpp +++ b/aidge_export_cpp/kernels/batchnorm.hpp @@ -5,7 +5,6 @@ #include "kernels/rescaling.hpp" #include "kernels/activation.hpp" #include <math.h> -#include <iostream> // WARNING: this kernel only works for 32-bits floating point values diff --git a/aidge_export_cpp/kernels/convolution_groups.hpp b/aidge_export_cpp/kernels/convolution_groups.hpp index 7d73f79..321ffc7 100644 --- a/aidge_export_cpp/kernels/convolution_groups.hpp +++ b/aidge_export_cpp/kernels/convolution_groups.hpp @@ -7,7 +7,6 @@ #include "kernels/macs.hpp" #include "kernels/activation.hpp" #include <omp.h> -#include <iostream> // Weights index en NHWC constexpr int inds_pos(int n, int c, int h, int w, int N, int C, int H, int W) { diff --git a/aidge_export_cpp/kernels/erf.hpp b/aidge_export_cpp/kernels/erf.hpp index b509133..768f3b9 100644 --- a/aidge_export_cpp/kernels/erf.hpp +++ b/aidge_export_cpp/kernels/erf.hpp @@ -1,10 +1,9 @@ -#ifndef __AIDGE_EXPORT_CPP_KERNELS_ERP__ -#define __AIDGE_EXPORT_CPP_KERNELS_ERP__ +#ifndef __AIDGE_EXPORT_CPP_KERNELS_ERF__ +#define __AIDGE_EXPORT_CPP_KERNELS_ERF__ #include "network/typedefs.hpp" #include <cmath> #include <math.h> -#include <iostream> template<int _NB_ELTS, typename Input_T, typename Output_T> @@ -37,4 +36,4 @@ void erf_forward ( } -#endif // __AIDGE_EXPORT_CPP_KERNELS_ERP_ \ No newline at end of file +#endif // __AIDGE_EXPORT_CPP_KERNELS_ERF_ \ No newline at end of file diff --git a/aidge_export_cpp/kernels/matmul.hpp b/aidge_export_cpp/kernels/matmul.hpp index b284214..1403a01 100644 --- a/aidge_export_cpp/kernels/matmul.hpp +++ b/aidge_export_cpp/kernels/matmul.hpp @@ -3,7 +3,7 @@ #include "network/typedefs.hpp" #include "kernels/activation.hpp" -#include <iostream> + // Generic function for matmul and activation template<int INPUT_A_DIMS[], int INPUT_B_DIMS[], int OUTPUT_DIMS[], -- GitLab