提交 f64a2e02 编写于 作者: M Megvii Engine Team

Revert "fix(mge/subgraph): fix mem leak"

This reverts commit 48beb625e12aba3a4225d2ec114b44a6efde2f6d.

GitOrigin-RevId: 5fc58d5903dadc0660f755a75363df7247daa760
上级 ea3eb66e
......@@ -450,7 +450,6 @@ void _init_py_op_def(py::module m) {
py_type.tp_richcompare = PyOp(OpDef)::tp_richcompare;
py_type.tp_getset = py_op::py_getsetters;
py_type.tp_repr = py_op::py_repr;
py_type.tp_dealloc = py_dealloc_generic<PyOp(OpDef)>;
mgb_assert(PyType_Ready(&py_type) >= 0);
m.add_object("OpDef", reinterpret_cast<PyObject*>(&py_type));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册