Skip to content
Snippets Groups Projects
Commit 3ce55d06 authored by Olivier BICHLER's avatar Olivier BICHLER Committed by Maxence Naud
Browse files

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

parent cab99651
No related branches found
No related tags found
1 merge request!325[Upd] Patch v0.5.1
Pipeline #64992 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