Add a name field to `Operation::Output` along with getter and setter.
Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
const Shape &getShape() const { return _shape; }
void setShape(const Shape &shape) { _shape = shape; }
+ const std::string &getName() const { return _name; }
+ void setName(const std::string &name) { _name = name; }
+
private:
Operation *_node;
std::size_t _index;
std::unordered_set<Input *> _consumers;
Shape _shape;
+ std::string _name;
};
/// @brief Represents an input of a node.