| 139 | } |
| 140 | |
| 141 | std::string CustomOpManager::to_name(const RunTimeId& id) const { |
| 142 | std::shared_ptr<const CustomOp> op = find(id); |
| 143 | return op->op_type(); |
| 144 | } |
| 145 | |
| 146 | std::shared_ptr<const CustomOp> CustomOpManager::find(const std::string& name) const { |
| 147 | auto ret = m_name2op.find(name); |