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

Function uninstall_custom

imperative/python/src/ops.cpp:747–756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745}
746
747py::list uninstall_custom(const std::string& name) {
748#if MGB_CUSTOM_OP
749 const auto& ops_in_lib = custom::CustomOpManager::inst()->uninstall(name);
750 py::list ret = py::cast(ops_in_lib);
751 return ret;
752#else
753 mgb_assert(false, "CustomOp disabled, please build megengine with CustomOp open");
754 return false;
755#endif
756}
757
758py::list get_custom_op_list(void) {
759#if MGB_CUSTOM_OP

Callers

nothing calls this directly

Calls 3

instFunction · 0.85
castFunction · 0.85
uninstallMethod · 0.80

Tested by

no test coverage detected