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

fix(mge/functional): del graph in __init__

GitOrigin-RevId: 4a62f39546a32e97e6b2addc3828c1004294c332
上级 67013463
......@@ -17,4 +17,4 @@ from . import distributed # isort:skip
# delete namespace
# pylint: disable=undefined-variable
del elemwise, graph, loss, math, nn, quantized, tensor, utils # type: ignore[name-defined]
del elemwise, math, tensor, utils # type: ignore[name-defined]
......@@ -1024,7 +1024,6 @@ def matmul(
format=format,
)
inp1, inp2 = utils.convert_inputs(inp1, inp2)
(result,) = apply(op, inp1, inp2)
if shp is not None:
result = result.reshape(shp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册