Skip to content
Snippets Groups Projects
Commit 7a9361f8 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed Aidge::Memorize_Op::Memorize_Op()

parent ae277f87
No related branches found
No related tags found
3 merge requests!414Update version 0.5.1 -> 0.6.0,!408[Add] Dropout Operator,!359Improve scheduling
...@@ -91,7 +91,7 @@ Aidge::Memorize_Op::Memorize_Op(const Aidge::Memorize_Op& op) ...@@ -91,7 +91,7 @@ Aidge::Memorize_Op::Memorize_Op(const Aidge::Memorize_Op& op)
: OperatorTensor(op), : OperatorTensor(op),
mAttributes(op.mAttributes) mAttributes(op.mAttributes)
{ {
if (op.mImpl) { if (!op.backend().empty()) {
SET_IMPL_MACRO(Memorize_Op, *this, op.backend()); SET_IMPL_MACRO(Memorize_Op, *this, op.backend());
} else { } else {
mImpl = nullptr; mImpl = nullptr;
......
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