MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / op_id_list

Method op_id_list

src/custom/impl/manager.cpp:169–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169std::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
177std::shared_ptr<CustomOp> op_insert(std::string opname, uint32_t version) {
178 return CustomOpManager::inst()->insert(opname, version);

Callers 1

TESTFunction · 0.80

Calls 1

emplace_backMethod · 0.80

Tested by 1

TESTFunction · 0.64