Skip to content
Snippets Groups Projects
Commit 56539703 authored by Olivier BICHLER's avatar Olivier BICHLER Committed by Axel Farrugia
Browse files

Fixed wrong overload being called

parent fb927964
No related branches found
No related tags found
2 merge requests!279v0.4.0,!250[Feat](Exports) Add custom options to exports
...@@ -150,7 +150,7 @@ void Aidge::Memorize_Op::setBackend(const std::string& name, Aidge::DeviceIdx_t ...@@ -150,7 +150,7 @@ void Aidge::Memorize_Op::setBackend(const std::string& name, Aidge::DeviceIdx_t
} }
void Aidge::Memorize_Op::forward() { void Aidge::Memorize_Op::forward() {
Operator::forward(); OperatorTensor::forward();
++mAttributes->template getAttr<MemorizeAttr::ForwardStep>(); ++mAttributes->template getAttr<MemorizeAttr::ForwardStep>();
mAttributes->template getAttr<MemorizeAttr::ScheduleStep>() = 0; mAttributes->template getAttr<MemorizeAttr::ScheduleStep>() = 0;
} }
......
...@@ -93,7 +93,7 @@ std::set<std::string> Aidge::Pop_Op::getAvailableBackends() const { ...@@ -93,7 +93,7 @@ std::set<std::string> Aidge::Pop_Op::getAvailableBackends() const {
} }
void Aidge::Pop_Op::forward() { void Aidge::Pop_Op::forward() {
Operator::forward(); OperatorTensor::forward();
++mAttributes->template getAttr<PopAttr::ForwardStep>(); ++mAttributes->template getAttr<PopAttr::ForwardStep>();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment