| 167 | } |
| 168 | |
| 169 | std::vector<RunTimeId> CustomOpManager::op_id_list(void) { |
| 170 | std::vector<RunTimeId> ret; |
| 171 | for (auto kv : m_id2op) { |
| 172 | ret.emplace_back(kv.first); |
| 173 | } |
| 174 | return ret; |
| 175 | } |
| 176 | |
| 177 | std::shared_ptr<CustomOp> op_insert(std::string opname, uint32_t version) { |
| 178 | return CustomOpManager::inst()->insert(opname, version); |