Skip to content
Snippets Groups Projects

Resolve "Bad MetaOp attributes"

Merged Maxence Naud requested to merge fix_208-bad-metaop-attributes into dev
All threads resolved!
2 files
+ 9
18
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -36,7 +36,10 @@ public:
@@ -36,7 +36,10 @@ public:
std::shared_ptr<SequentialScheduler> mScheduler;
std::shared_ptr<SequentialScheduler> mScheduler;
std::weak_ptr<Node> mUpperNode;
std::weak_ptr<Node> mUpperNode;
public:
private:
 
const std::shared_ptr<DynamicAttributes> mAttributes = std::make_shared<DynamicAttributes>();
 
 
public:
MetaOperator_Op(const std::string& type, const std::shared_ptr<GraphView>& graph, const std::vector<InputCategory>& forcedInputsCategory = {});
MetaOperator_Op(const std::string& type, const std::shared_ptr<GraphView>& graph, const std::vector<InputCategory>& forcedInputsCategory = {});
/**
/**
@@ -92,7 +95,7 @@ public:
@@ -92,7 +95,7 @@ public:
mGraph->setDataType(datatype);
mGraph->setDataType(datatype);
}
}
std::shared_ptr<Attributes> attributes() const override;
inline std::shared_ptr<Attributes> attributes() const override { return mAttributes; }
Elts_t getNbRequiredData(const IOIndex_t inputIdx) const override;
Elts_t getNbRequiredData(const IOIndex_t inputIdx) const override;
Elts_t getNbRequiredProtected(const IOIndex_t inputIdx) const override;
Elts_t getNbRequiredProtected(const IOIndex_t inputIdx) const override;
Loading