operand::LowerInfo *getLowerInfo(const model::OperandIndex &index);
void setLowerInfo(const model::OperandIndex &index,
std::unique_ptr<operand::LowerInfo> &&lower_info);
-
-private:
- std::unique_ptr<compiler::BackendResolver> _backend_resolver;
- std::unique_ptr<LowerInfoMap> _lower_info_map;
-
- // For Subgraph
-public:
model::operation::SubgraphContext &subg_ctx()
{
assert(_subg_ctx);
const model::operation::SubgraphContext *subg_ctx() const { return _subg_ctx.get(); }
private:
+ std::unique_ptr<compiler::BackendResolver> _backend_resolver;
+ std::unique_ptr<LowerInfoMap> _lower_info_map;
// Pass(for Perm) can accept only graph so that Graph has SubgraphContext as a member
std::unique_ptr<model::operation::SubgraphContext> _subg_ctx;
};