diff --git a/src/operator/PadImpl.cpp b/src/operator/PadImpl.cpp index cdae21f8ed2757128f6a36b661b0897a4ba65f89..9a54437f445a1842b2f97555a0cbea8988acf50a 100644 --- a/src/operator/PadImpl.cpp +++ b/src/operator/PadImpl.cpp @@ -9,14 +9,14 @@ * ********************************************************************************/ +#include <cstddef> #include <vector> -#include "aidge/utils/Types.h" #include "aidge/backend/cpu/data/GetCPUPtr.h" -#include "aidge/operator/Conv.hpp" - #include "aidge/backend/cpu/operator/PadImpl.hpp" #include "aidge/backend/cpu/operator/PadImpl_kernels.hpp" +#include "aidge/operator/Pad.hpp" +#include "aidge/utils/Types.h" Aidge::Elts_t Aidge::Pad_ProdConso_cpu::getNbRequiredProtected(Aidge::IOIndex_t inputIdx) const { AIDGE_ASSERT(inputIdx == 0, "input index out of range." diff --git a/src/operator/ReduceSumImpl.cpp b/src/operator/ReduceSumImpl.cpp index aad0801835a74ecefb046f3dc64729ae1f8bd8bb..93a89a3436fb7c08489a54e94b991e4e36a0e5d4 100644 --- a/src/operator/ReduceSumImpl.cpp +++ b/src/operator/ReduceSumImpl.cpp @@ -12,11 +12,14 @@ #include "aidge/backend/cpu/operator/ReduceSumImpl.hpp" #include <memory> +#include <stdexcept> #include <vector> -#include "aidge/utils/Types.h" -#include "aidge/operator/ReduceSum.hpp" #include "aidge/backend/cpu/operator/ReduceSumImpl_kernels.hpp" +#include "aidge/data/Tensor.hpp" +#include "aidge/operator/ReduceSum.hpp" +#include "aidge/utils/ErrorHandling.hpp" +#include "aidge/utils/Types.h" template <> void Aidge::ReduceSumImpl_cpu::forward() {