| 134 | } |
| 135 | |
| 136 | RunTimeId CustomOpManager::to_id(const std::string& name) const { |
| 137 | std::shared_ptr<const CustomOp> op = find(name); |
| 138 | return op->runtime_id(); |
| 139 | } |
| 140 | |
| 141 | std::string CustomOpManager::to_name(const RunTimeId& id) const { |
| 142 | std::shared_ptr<const CustomOp> op = find(id); |