diff --git a/include/aidge/aidge_backend_cpu.hpp b/include/aidge/aidge_backend_cpu.hpp index ce723a528fef7a1e62851a854b06feba34525f09..e887a2299d5e155f6b7cac6e7863010663e8cf81 100644 --- a/include/aidge/aidge_backend_cpu.hpp +++ b/include/aidge/aidge_backend_cpu.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_IMPORTS_H__ -#define __AIDGE_CPU_IMPORTS_H__ +#ifndef AIDGE_CPU_IMPORTS_H_ +#define AIDGE_CPU_IMPORTS_H_ #include "aidge/data/TensorImpl.hpp" #include "aidge/operator/AddImpl.hpp" @@ -24,4 +24,4 @@ #include "aidge/operator/ReLUImpl.hpp" #include "aidge/operator/SoftmaxImpl.hpp" -#endif /* __AIDGE_CPU_IMPORTS_H__ */ \ No newline at end of file +#endif /* AIDGE_CPU_IMPORTS_H_ */ \ No newline at end of file diff --git a/include/aidge/data/TensorImpl.hpp b/include/aidge/data/TensorImpl.hpp index 002bad3ca2680b0ecb4d2125aa30e0f066af68e0..e2c9f8287fd3e12b73bf009e6d78a36060fb9d17 100644 --- a/include/aidge/data/TensorImpl.hpp +++ b/include/aidge/data/TensorImpl.hpp @@ -1,5 +1,5 @@ -#ifndef __AIDGE_CPU_DATA_TENSORIMPL_H__ -#define __AIDGE_CPU_DATA_TENSORIMPL_H__ +#ifndef AIDGE_CPU_DATA_TENSORIMPL_H_ +#define AIDGE_CPU_DATA_TENSORIMPL_H_ #include "aidge/backend/TensorImpl.hpp" #include "aidge/data/Tensor.hpp" @@ -72,4 +72,4 @@ static Registrar<Tensor> registrarTensorImpl_cpu_Int32( } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_DATA_TENSORIMPL_H__ */ +#endif /* AIDGE_CPU_DATA_TENSORIMPL_H_ */ diff --git a/include/aidge/operator/AddImpl.hpp b/include/aidge/operator/AddImpl.hpp index 9f61862d8eafd6872d5d74e4088fb0e8be49d47a..21ca02e75fedc2a40da4b033e81b658b69690048 100644 --- a/include/aidge/operator/AddImpl.hpp +++ b/include/aidge/operator/AddImpl.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_ADDIMPL_H__ -#define __AIDGE_CPU_OPERATOR_ADDIMPL_H__ +#ifndef AIDGE_CPU_OPERATOR_ADDIMPL_H_ +#define AIDGE_CPU_OPERATOR_ADDIMPL_H_ #include "aidge/backend/OperatorImpl.hpp" #include "aidge/operator/Add.hpp" @@ -203,4 +203,4 @@ static Registrar<Add_Op<3>> registrarAddImpl3I_cpu("cpu", Aidge::AddImpl_cpu<3>: } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_ADDIMPL_H__ */ \ No newline at end of file +#endif /* AIDGE_CPU_OPERATOR_ADDIMPL_H_ */ \ No newline at end of file diff --git a/include/aidge/operator/AddImpl_forward_kernels.hpp b/include/aidge/operator/AddImpl_forward_kernels.hpp index f968f94b5b5f5f7708a9f753a7d0a02e6274cb98..73ec0ddd337c78b798bde0f4a932797e180d2a65 100644 --- a/include/aidge/operator/AddImpl_forward_kernels.hpp +++ b/include/aidge/operator/AddImpl_forward_kernels.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_ADDIMPL_FORWARD_KERNEL_H__ -#define __AIDGE_CPU_OPERATOR_ADDIMPL_FORWARD_KERNEL_H__ +#ifndef AIDGE_CPU_OPERATOR_ADDIMPL_FORWARD_KERNEL_H_ +#define AIDGE_CPU_OPERATOR_ADDIMPL_FORWARD_KERNEL_H_ #include "aidge/utils/Registrar.hpp" @@ -84,4 +84,4 @@ static Registrar<AddImplForward_cpu<3>> registrarAddImpl3IForward_cpu_Float64( } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_ADDIMPL_CPU_FORWARD_KERNEL_H__ */ +#endif /* AIDGE_CPU_OPERATOR_ADDIMPL_CPU_FORWARD_KERNEL_H_ */ diff --git a/include/aidge/operator/AvgPoolingImpl.hpp b/include/aidge/operator/AvgPoolingImpl.hpp index ceb4a02d7c882857b6bdba029461bd740e94dfe1..429d428587ac3c893480c6661d311f0bfa7c785b 100644 --- a/include/aidge/operator/AvgPoolingImpl.hpp +++ b/include/aidge/operator/AvgPoolingImpl.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_H__ -#define __AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_H__ +#ifndef AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_H_ +#define AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_H_ #include <array> #include <memory> @@ -66,4 +66,4 @@ static Registrar<AvgPooling_Op<2>> registrarAvgPoolingImpl2D_cpu("cpu", Aidge::A } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_H__ */ \ No newline at end of file +#endif /* AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_H_ */ \ No newline at end of file diff --git a/include/aidge/operator/AvgPoolingImpl_forward_kernels.hpp b/include/aidge/operator/AvgPoolingImpl_forward_kernels.hpp index cf6cd0e6ec016239bb357510766ac199de418377..7ff3243d3b9e6393e0f3aa532599ecab715d77e2 100644 --- a/include/aidge/operator/AvgPoolingImpl_forward_kernels.hpp +++ b/include/aidge/operator/AvgPoolingImpl_forward_kernels.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_FORWARD_KERNEL_H__ -#define __AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_FORWARD_KERNEL_H__ +#ifndef AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_FORWARD_KERNEL_H_ +#define AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_FORWARD_KERNEL_H_ #include "aidge/utils/Registrar.hpp" @@ -40,7 +40,7 @@ void AvgPoolingImpl2D_cpu_forward_kernel(const AvgPooling_Op<2>::Parameters &par const I *input = static_cast<const I *>(input_); O *output = static_cast<O *>(output_); - + // output H size const std::size_t oxSize = static_cast<std::size_t>(std::floor(static_cast<float>(dims[2] + std::get<2>(params)[0] + std::get<2>(params)[2] - std::get<1>(params)[0] + std::get<0>(params)[0]) / @@ -111,4 +111,4 @@ static Registrar<AvgPoolingImpl2DForward_cpu> registrarAvgPoolingImpl2DForward_c } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_FORWARD_KERNEL_H__ */ +#endif /* AIDGE_CPU_OPERATOR_AVGPOOLINGIMPL_FORWARD_KERNEL_H_ */ diff --git a/include/aidge/operator/BatchNormImpl.hpp b/include/aidge/operator/BatchNormImpl.hpp index 8b1e5542e08698c5dc2cab898d23d184fd83fa93..567a1580a7726b40a07f2a65a90bed5750b0e0f2 100644 --- a/include/aidge/operator/BatchNormImpl.hpp +++ b/include/aidge/operator/BatchNormImpl.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_BATCHNORMIMPL_H__ -#define __AIDGE_CPU_OPERATOR_BATCHNORMIMPL_H__ +#ifndef AIDGE_CPU_OPERATOR_BATCHNORMIMPL_H_ +#define AIDGE_CPU_OPERATOR_BATCHNORMIMPL_H_ #include <array> #include <memory> @@ -81,4 +81,4 @@ static Registrar<BatchNorm_Op<2>> registrarBatchNormImpl2D_cpu("cpu", Aidge::Bat } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_BATCHNORMIMPL_H__ */ \ No newline at end of file +#endif /* AIDGE_CPU_OPERATOR_BATCHNORMIMPL_H_ */ \ No newline at end of file diff --git a/include/aidge/operator/BatchNormImpl_forward_kernels.hpp b/include/aidge/operator/BatchNormImpl_forward_kernels.hpp index 77a8f0aa12c3b5c450dfd765626acbe7e6dfe995..6d05c40cc37c47ba07ae3ae2ae55839c65b71a8e 100644 --- a/include/aidge/operator/BatchNormImpl_forward_kernels.hpp +++ b/include/aidge/operator/BatchNormImpl_forward_kernels.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_BATCHNORMIMPL_FORWARD_KERNEL_H__ -#define __AIDGE_CPU_OPERATOR_BATCHNORMIMPL_FORWARD_KERNEL_H__ +#ifndef AIDGE_CPU_OPERATOR_BATCHNORMIMPL_FORWARD_KERNEL_H_ +#define AIDGE_CPU_OPERATOR_BATCHNORMIMPL_FORWARD_KERNEL_H_ #include "aidge/utils/Registrar.hpp" @@ -78,7 +78,7 @@ void BatchNormImpl2D_cpu_forward_kernel(const BatchNorm_Op<2>::Parameters ¶m sumSquare += input[ioIndex + feature] * input[ioIndex + feature]; } } - const I inputMean = sum / static_cast<I>(nbDataPerChannel); + const I inputMean = sum / static_cast<I>(nbDataPerChannel); const I inputVar = sumSquare / static_cast<I>(nbDataPerChannel) - inputMean*inputMean; batchMean[ch] = batchMean[ch]*(1-std::get<1>(params)) + inputMean*std::get<1>(params); @@ -106,4 +106,4 @@ static Registrar<BatchNormImpl2DForward_cpu> registrarBatchNormImpl2DForward_cpu } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_BATCHNORMIMPL_FORWARD_KERNEL_H__ */ +#endif /* AIDGE_CPU_OPERATOR_BATCHNORMIMPL_FORWARD_KERNEL_H_ */ diff --git a/include/aidge/operator/ConvDepthWiseImpl.hpp b/include/aidge/operator/ConvDepthWiseImpl.hpp index fbeb2b668c3d5e960c9fbee346ef27c74f025f4b..e54025dbd0b72225d33ec660eb8373ee9014da89 100644 --- a/include/aidge/operator/ConvDepthWiseImpl.hpp +++ b/include/aidge/operator/ConvDepthWiseImpl.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMPL_H__ -#define __AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMPL_H__ +#ifndef AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMPL_H_ +#define AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMPL_H_ #include <array> #include <memory> @@ -68,4 +68,4 @@ static Registrar<ConvDepthWise_Op<2>> registrarConvDepthWiseImpl2D_cpu("cpu", Ai } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMPL_H__ */ \ No newline at end of file +#endif /* AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMPL_H_ */ \ No newline at end of file diff --git a/include/aidge/operator/ConvDepthWiseImpl_forward_kernels.hpp b/include/aidge/operator/ConvDepthWiseImpl_forward_kernels.hpp index 699a086457ee54f048182b9e318dbe1311b0c75c..6a7ec3fe73edc68a4bd9957d8abc207811369df4 100644 --- a/include/aidge/operator/ConvDepthWiseImpl_forward_kernels.hpp +++ b/include/aidge/operator/ConvDepthWiseImpl_forward_kernels.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMP_FORWARD_KERNEL_H__ -#define __AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMPL_FORWARD_KERNEL_H__ +#ifndef AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMP_FORWARD_KERNEL_H_ +#define AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMPL_FORWARD_KERNEL_H_ #include "aidge/utils/Registrar.hpp" @@ -43,7 +43,7 @@ void ConvDepthWiseImpl2D_cpu_forward_kernel(const ConvDepthWise_Op<2>::Parameter const B *biases = static_cast<const B *>(biases_); O *output = static_cast<O *>(output_); - + // output H size const std::size_t oxSize = static_cast<std::size_t>(std::floor(static_cast<float>(dims[2] + std::get<4>(params)[0] + std::get<4>(params)[2] - std::get<3>(params)[0] + std::get<0>(params)[0]) / @@ -91,7 +91,7 @@ void ConvDepthWiseImpl2D_cpu_forward_kernel(const ConvDepthWise_Op<2>::Parameter } else { for (std::size_t sx = sxMin; sx < sxMax; ++sx) { for (std::size_t sy = syMin; sy < syMax; ++sy) { - output[oIndexFull] += weights[wIndex + sx*std::get<3>(params)[1] + sy] * + output[oIndexFull] += weights[wIndex + sx*std::get<3>(params)[1] + sy] * input[iIndex + static_cast<std::size_t>(ix+static_cast<signedsize>(sx))*dims[3] + static_cast<std::size_t>(iy+static_cast<signedsize>(sy))]; } } @@ -115,4 +115,4 @@ static Registrar<ConvDepthWiseImpl2DForward_cpu> registrarConvDepthWiseImpl2DFor } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMPL_FORWARD_KERNEL_H__ */ +#endif /* AIDGE_CPU_OPERATOR_CONVDEPTHWISEIMPL_FORWARD_KERNEL_H_ */ diff --git a/include/aidge/operator/ConvImpl.hpp b/include/aidge/operator/ConvImpl.hpp index 7c7b8d3ade35655653262f2414e1bf9971fe4f36..d6216cde05d74a76dc325540ce4d82745ffe2b2a 100644 --- a/include/aidge/operator/ConvImpl.hpp +++ b/include/aidge/operator/ConvImpl.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_CONVIMPL_H__ -#define __AIDGE_CPU_OPERATOR_CONVIMPL_H__ +#ifndef AIDGE_CPU_OPERATOR_CONVIMPL_H_ +#define AIDGE_CPU_OPERATOR_CONVIMPL_H_ #include <array> #include <memory> @@ -68,4 +68,4 @@ static Registrar<Conv_Op<2>> registrarConvImpl2D_cpu("cpu", Aidge::ConvImpl2D_cp } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_CONVIMPL_H__ */ \ No newline at end of file +#endif /* AIDGE_CPU_OPERATOR_CONVIMPL_H_ */ \ No newline at end of file diff --git a/include/aidge/operator/ConvImpl_forward_kernels.hpp b/include/aidge/operator/ConvImpl_forward_kernels.hpp index 8c2aedca4855c1272838604757e3b2727f11edb0..459b5c81c1d8a46fedb61590084bfea59e6372bf 100644 --- a/include/aidge/operator/ConvImpl_forward_kernels.hpp +++ b/include/aidge/operator/ConvImpl_forward_kernels.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_CONVIMPL_FORWARD_KERNEL_H__ -#define __AIDGE_CPU_OPERATOR_CONVIMPL_FORWARD_KERNEL_H__ +#ifndef AIDGE_CPU_OPERATOR_CONVIMPL_FORWARD_KERNEL_H_ +#define AIDGE_CPU_OPERATOR_CONVIMPL_FORWARD_KERNEL_H_ #include "aidge/utils/Registrar.hpp" @@ -85,7 +85,7 @@ void ConvImpl2D_cpu_forward_kernel(const Conv_Op<2>::Parameters ¶ms, const s } */ - + // output H size const std::size_t oxSize = static_cast<std::size_t>(std::floor(static_cast<float>(dims[2] + std::get<5>(params)[0] + std::get<5>(params)[2] - std::get<4>(params)[0] + std::get<0>(params)[0]) / @@ -134,7 +134,7 @@ void ConvImpl2D_cpu_forward_kernel(const Conv_Op<2>::Parameters ¶ms, const s } else { for (std::size_t sx = sxMin; sx < sxMax; ++sx) { for (std::size_t sy = syMin; sy < syMax; ++sy) { - output[oIndexFull] += weights[wIndex + sx*std::get<4>(params)[1] + sy] * + output[oIndexFull] += weights[wIndex + sx*std::get<4>(params)[1] + sy] * input[iIndex + static_cast<std::size_t>(ix+static_cast<signedsize>(sx))*dims[3] + static_cast<std::size_t>(iy+static_cast<signedsize>(sy))]; } } @@ -159,4 +159,4 @@ static Registrar<ConvImpl2DForward_cpu> registrarConvImpl2DForward_cpu_Float64( } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_CONVIMPL_FORWARD_KERNEL_H__ */ +#endif /* AIDGE_CPU_OPERATOR_CONVIMPL_FORWARD_KERNEL_H_ */ diff --git a/include/aidge/operator/FCImpl.hpp b/include/aidge/operator/FCImpl.hpp index 2264bc506a7f9daa247f14257ae8ffd720fc9e41..9c577216a75b0c97180f7a6fc19b70b0cfa34e09 100644 --- a/include/aidge/operator/FCImpl.hpp +++ b/include/aidge/operator/FCImpl.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_FCIMPL_H__ -#define __AIDGE_CPU_OPERATOR_FCIMPL_H__ +#ifndef AIDGE_CPU_OPERATOR_FCIMPL_H_ +#define AIDGE_CPU_OPERATOR_FCIMPL_H_ #include "aidge/backend/OperatorImpl.hpp" #include "aidge/operator/FC.hpp" @@ -61,4 +61,4 @@ static Registrar<FC_Op> registrarFCImpl_cpu("cpu", Aidge::FCImpl_cpu::create); } } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_FCIMPL_H__ */ \ No newline at end of file +#endif /* AIDGE_CPU_OPERATOR_FCIMPL_H_ */ \ No newline at end of file diff --git a/include/aidge/operator/FCImpl_forward_kernels.hpp b/include/aidge/operator/FCImpl_forward_kernels.hpp index a481e2d5f80ec9c722af7f00b688003c12a4e35a..7bd1f3661cb44dae01e93f955ccad2166e61ea20 100644 --- a/include/aidge/operator/FCImpl_forward_kernels.hpp +++ b/include/aidge/operator/FCImpl_forward_kernels.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_FCIMPL_FORWARD_KERNEL_H__ -#define __AIDGE_CPU_OPERATOR_FCIMPL_FORWARD_KERNEL_H__ +#ifndef AIDGE_CPU_OPERATOR_FCIMPL_FORWARD_KERNEL_H_ +#define AIDGE_CPU_OPERATOR_FCIMPL_FORWARD_KERNEL_H_ #include "aidge/utils/Registrar.hpp" #include <algorithm> @@ -125,4 +125,4 @@ static Registrar<FCImplForward_cpu> registrarFCImpl2DForward_cpu_Float64( } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_FCIMPL_FORWARD_KERNEL_H__ */ +#endif /* AIDGE_CPU_OPERATOR_FCIMPL_FORWARD_KERNEL_H_ */ diff --git a/include/aidge/operator/LeakyReLUImpl.hpp b/include/aidge/operator/LeakyReLUImpl.hpp index c15a441f20041fb61013b06edc9efeb9d4c0b54b..b817306e2bc27329207572c15e8cdcb8f3ccce78 100644 --- a/include/aidge/operator/LeakyReLUImpl.hpp +++ b/include/aidge/operator/LeakyReLUImpl.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_H__ -#define __AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_H__ +#ifndef AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_H_ +#define AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_H_ #include "aidge/backend/OperatorImpl.hpp" #include "aidge/operator/LeakyReLU.hpp" @@ -60,4 +60,4 @@ static Registrar<LeakyReLU_Op> registrarLeakyReLUImpl_cpu("cpu", Aidge::LeakyReL } } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_H__ */ \ No newline at end of file +#endif /* AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_H_ */ \ No newline at end of file diff --git a/include/aidge/operator/LeakyReLUImpl_forward_kernels.hpp b/include/aidge/operator/LeakyReLUImpl_forward_kernels.hpp index e41a8f20ebd3c405f7adbc9ed4ded3080c9688ce..43e43a0610301cf39328b5d1b7b931cf521cf473 100644 --- a/include/aidge/operator/LeakyReLUImpl_forward_kernels.hpp +++ b/include/aidge/operator/LeakyReLUImpl_forward_kernels.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_FORWARD_KERNEL_H__ -#define __AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_FORWARD_KERNEL_H__ +#ifndef AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_FORWARD_KERNEL_H_ +#define AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_FORWARD_KERNEL_H_ #include "aidge/utils/Registrar.hpp" @@ -42,4 +42,4 @@ static Registrar<LeakyReLUImplForward_cpu> registrarLeakyReLUImplForward_cpu_Flo } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_FORWARD_KERNEL_H__ */ +#endif /* AIDGE_CPU_OPERATOR_LEAKYRELUIMPL_FORWARD_KERNEL_H_ */ diff --git a/include/aidge/operator/ProducerImpl.hpp b/include/aidge/operator/ProducerImpl.hpp index c4f4c163c9b17751d14c869d5e81c526e46663d9..ee3d3d725151d2d6f4972815cb50250bd8d03817 100644 --- a/include/aidge/operator/ProducerImpl.hpp +++ b/include/aidge/operator/ProducerImpl.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_PRODUCERIMPL_H__ -#define __AIDGE_CPU_OPERATOR_PRODUCERIMPL_H__ +#ifndef AIDGE_CPU_OPERATOR_PRODUCERIMPL_H_ +#define AIDGE_CPU_OPERATOR_PRODUCERIMPL_H_ #include <memory> @@ -48,4 +48,4 @@ static Registrar<Producer_Op> registrarProducer1DImpl_cpu("cpu", Aidge::Producer } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_PRODUCERIMPL_H__ */ \ No newline at end of file +#endif /* AIDGE_CPU_OPERATOR_PRODUCERIMPL_H_ */ \ No newline at end of file diff --git a/include/aidge/operator/ReLUImpl.hpp b/include/aidge/operator/ReLUImpl.hpp index dc4d3907bf07ce8c2bde91fd35157b8284bec797..b28da884b99fae0aeba5805bf4bdd15de60b8ffc 100644 --- a/include/aidge/operator/ReLUImpl.hpp +++ b/include/aidge/operator/ReLUImpl.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_RELUIMPL_H__ -#define __AIDGE_CPU_OPERATOR_RELUIMPL_H__ +#ifndef AIDGE_CPU_OPERATOR_RELUIMPL_H_ +#define AIDGE_CPU_OPERATOR_RELUIMPL_H_ #include "aidge/backend/OperatorImpl.hpp" #include "aidge/operator/ReLU.hpp" @@ -60,4 +60,4 @@ static Registrar<ReLU_Op> registrarReLUImpl_cpu("cpu", Aidge::ReLUImpl_cpu::crea } } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_RELUIMPL_H__ */ \ No newline at end of file +#endif /* AIDGE_CPU_OPERATOR_RELUIMPL_H_ */ \ No newline at end of file diff --git a/include/aidge/operator/ReLUImpl_forward_kernels.hpp b/include/aidge/operator/ReLUImpl_forward_kernels.hpp index 640455a43791c72fcb4832987e1a035239f746af..47550cf300729b4820bf8b02d690e1b0f0d45d97 100644 --- a/include/aidge/operator/ReLUImpl_forward_kernels.hpp +++ b/include/aidge/operator/ReLUImpl_forward_kernels.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_RELUIMPL_FORWARD_KERNEL_H__ -#define __AIDGE_CPU_OPERATOR_RELUIMPL_FORWARD_KERNEL_H__ +#ifndef AIDGE_CPU_OPERATOR_RELUIMPL_FORWARD_KERNEL_H_ +#define AIDGE_CPU_OPERATOR_RELUIMPL_FORWARD_KERNEL_H_ #include "aidge/utils/Registrar.hpp" @@ -40,4 +40,4 @@ static Registrar<ReLUImplForward_cpu> registrarReLUImplForward_cpu_Float64( } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_RELUIMPL_FORWARD_KERNEL_H__ */ +#endif /* AIDGE_CPU_OPERATOR_RELUIMPL_FORWARD_KERNEL_H_ */ diff --git a/include/aidge/operator/SoftmaxImpl.hpp b/include/aidge/operator/SoftmaxImpl.hpp index 289e1ef9fc89a38df3f2d5a1593bc3d7f0e68876..7641a355d44bd3e9eddec9ba27ac8876696f02b2 100644 --- a/include/aidge/operator/SoftmaxImpl.hpp +++ b/include/aidge/operator/SoftmaxImpl.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_SOFTMAXIMPL_H__ -#define __AIDGE_CPU_OPERATOR_SOFTMAXIMPL_H__ +#ifndef AIDGE_CPU_OPERATOR_SOFTMAXIMPL_H_ +#define AIDGE_CPU_OPERATOR_SOFTMAXIMPL_H_ #include "aidge/backend/OperatorImpl.hpp" #include "aidge/operator/Softmax.hpp" @@ -60,4 +60,4 @@ static Registrar<Softmax_Op> registrarSoftmaxImpl_cpu("cpu", Aidge::SoftmaxImpl_ } } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_SOFTMAXIMPL_H__ */ \ No newline at end of file +#endif /* AIDGE_CPU_OPERATOR_SOFTMAXIMPL_H_ */ \ No newline at end of file diff --git a/include/aidge/operator/SoftmaxImpl_forward_kernels.hpp b/include/aidge/operator/SoftmaxImpl_forward_kernels.hpp index d1634e28a9b57cf2f2d486237947779b41e121bd..c10c1e08e1a3475d344afa9609eefbc940b05bdc 100644 --- a/include/aidge/operator/SoftmaxImpl_forward_kernels.hpp +++ b/include/aidge/operator/SoftmaxImpl_forward_kernels.hpp @@ -9,8 +9,8 @@ * ********************************************************************************/ -#ifndef __AIDGE_CPU_OPERATOR_SOFTMAXIMPL_FORWARD_KERNEL_H__ -#define __AIDGE_CPU_OPERATOR_SOFTMAXIMPL_FORWARD_KERNEL_H__ +#ifndef AIDGE_CPU_OPERATOR_SOFTMAXIMPL_FORWARD_KERNEL_H_ +#define AIDGE_CPU_OPERATOR_SOFTMAXIMPL_FORWARD_KERNEL_H_ #include "aidge/utils/Registrar.hpp" #include <cstddef> @@ -61,4 +61,4 @@ static Registrar<SoftmaxImplForward_cpu> registrarSoftmaxImplForward_cpu_Float64 } // namespace } // namespace Aidge -#endif /* __AIDGE_CPU_OPERATOR_SOFTMAXIMPL_FORWARD_KERNEL_H__ */ +#endif /* AIDGE_CPU_OPERATOR_SOFTMAXIMPL_FORWARD_KERNEL_H_ */