From fba9b16c7e26c9d3a7a41f02690c9c894ca1c17a Mon Sep 17 00:00:00 2001 From: Olivier BICHLER <olivier.bichler@cea.fr> Date: Tue, 9 Apr 2024 10:57:48 +0200 Subject: [PATCH] Fixed unused arguements --- include/aidge/operator/BatchNorm.hpp | 2 +- include/aidge/operator/Conv.hpp | 2 +- include/aidge/operator/Pad.hpp | 2 +- include/aidge/operator/Transpose.hpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/aidge/operator/BatchNorm.hpp b/include/aidge/operator/BatchNorm.hpp index 764985696..7f3b60a9f 100644 --- a/include/aidge/operator/BatchNorm.hpp +++ b/include/aidge/operator/BatchNorm.hpp @@ -68,7 +68,7 @@ public: // } - bool computeOutputDims(bool allowDataDependency = false) override final { + bool computeOutputDims(bool /*allowDataDependency*/ = false) override final { // check inputs have been associated bool associated = true; for (IOIndex_t i = 0; i < nbInputs(); ++i) { diff --git a/include/aidge/operator/Conv.hpp b/include/aidge/operator/Conv.hpp index 45925691b..f27c93422 100644 --- a/include/aidge/operator/Conv.hpp +++ b/include/aidge/operator/Conv.hpp @@ -108,7 +108,7 @@ public: // } - bool computeOutputDims(bool allowDataDependency = false) override final { + bool computeOutputDims(bool /*allowDataDependency*/ = false) override final { // check inputs have been associated bool associated = true; for (IOIndex_t i = 0; i < 3; ++i) { diff --git a/include/aidge/operator/Pad.hpp b/include/aidge/operator/Pad.hpp index 1201cf18c..e13face55 100644 --- a/include/aidge/operator/Pad.hpp +++ b/include/aidge/operator/Pad.hpp @@ -74,7 +74,7 @@ public: } - bool computeOutputDims(bool allowDataDependency = false) override final { + bool computeOutputDims(bool /*allowDataDependency*/ = false) override final { bool associated = true; for (IOIndex_t i = 0; i < nbInputs(); ++i) { if (!getInput(i)) { diff --git a/include/aidge/operator/Transpose.hpp b/include/aidge/operator/Transpose.hpp index 5bebd6056..2bb18b019 100644 --- a/include/aidge/operator/Transpose.hpp +++ b/include/aidge/operator/Transpose.hpp @@ -71,7 +71,7 @@ class Transpose_Op : public OperatorTensor, return std::make_shared<Transpose_Op<DIM>>(*this); } - bool computeOutputDims(bool allowDataDependency = false) override final { + bool computeOutputDims(bool /*allowDataDependency*/ = false) override final { if (!getInput(0)->empty()) { auto attr = (this)->getStaticAttributes(); const std::array<DimSize_t, DIM>& outDimsOrder = static_cast<const std::array<DimSize_t, DIM>&>(std::get<0>(attr)); -- GitLab