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

Added doc comment

parent 2463ebc9
No related branches found
No related tags found
4 merge requests!414Update version 0.5.1 -> 0.6.0,!408[Add] Dropout Operator,!333[Fix] Attribute snake case,!322Fix Generic and Meta op copy constructor issues
Pipeline #64792 passed
...@@ -73,6 +73,9 @@ Aidge::MetaOperator_Op::MetaOperator_Op(const MetaOperator_Op& op) ...@@ -73,6 +73,9 @@ Aidge::MetaOperator_Op::MetaOperator_Op(const MetaOperator_Op& op)
std::shared_ptr<Aidge::Operator> Aidge::MetaOperator_Op::clone() const { std::shared_ptr<Aidge::Operator> Aidge::MetaOperator_Op::clone() const {
auto metaOp = std::make_shared<MetaOperator_Op>(*this); auto metaOp = std::make_shared<MetaOperator_Op>(*this);
if (mImpl) { if (mImpl) {
// Only setBackend() is mImpl is not nullptr.
// The inner-graph backend is already set in MetaOperator_Op copy
// construtor, when the graph is cloned.
metaOp->setBackend(mImpl->backend()); metaOp->setBackend(mImpl->backend());
} }
return metaOp; return metaOp;
......
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