diff --git a/include/aidge/operator/Gather.hpp b/include/aidge/operator/Gather.hpp index 4ce9f7a494ea1089d0f28d31c664e863a111062e..8bd8239ec664a7bcb9d520c3dc37488f932437bb 100644 --- a/include/aidge/operator/Gather.hpp +++ b/include/aidge/operator/Gather.hpp @@ -111,12 +111,6 @@ public: */ bool forwardDims(bool allowDataDependency = false) override final; - /** - * @brief Forward the data type. - * @return True if successful, false otherwise. - */ - bool forwardDType() override final; - /** * @brief Set the backend for the operator. * @param name The name of the backend. diff --git a/src/operator/Gather.cpp b/src/operator/Gather.cpp index ccef5ec534b45dfe0e010c5e20d39235e88205fd..a4cb4aab0f10cbb3b197e743a5b40208b4a0da94 100644 --- a/src/operator/Gather.cpp +++ b/src/operator/Gather.cpp @@ -59,14 +59,7 @@ bool Aidge::Gather_Op::dimsForwarded() const { return OperatorTensor::dimsForwarded(); } -bool Aidge::Gather_Op::forwardDType(){ - if (inputsAssociated()) { - mOutputs[0]->setDataType(getInput(0)->dataType()); - return true; - } - Log::notice("Gather_Op: No input associated, failed to forward data type."); - return false; -} + bool Aidge::Gather_Op::forwardDims(bool allowDataDependency) { if (inputsAssociated()) { // Copy optional input #1, if present, to attribute Indices