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

fix(mge): remove a duplicated __init__ call in jit.trace

GitOrigin-RevId: d898f42fc4fb1e98e35168269403bd9cea8fcd75
上级 517c1ec0
......@@ -79,9 +79,7 @@ class trace:
def __new__(cls, *args, **kwargs):
if not args:
return functools.partial(cls, **kwargs)
self = super().__new__(cls)
self.__init__(*args, **kwargs)
return self
return super().__new__(cls)
def __init__(
self,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册