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

Removed mandatory type attribute for Meta op, which is redundant with Meta op impl registry

parent 86a75776
No related branches found
No related tags found
2 merge requests!333[Fix] Attribute snake case,!322Fix Generic and Meta op copy constructor issues
Pipeline #64804 passed
......@@ -74,13 +74,6 @@ Aidge::ImplSpec Aidge::OperatorImpl::getRequiredSpec() const {
requiredSpec.outputs.push_back({opTensor.getOutput(i)->dataType(), opTensor.getOutput(i)->dataFormat(), dims});
}
// Attributes
if (!mOp.isAtomic()) {
requiredSpec.attrs.setAttr("type:!", mOp.type()); // :! mandatory qualifier
}
else {
requiredSpec.attrs.setAttr("type", mOp.type());
}
const auto& inhAttrs = mOp.inheritedAttributes();
if (inhAttrs) {
......
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