This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
MegEngine
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
31
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
fix(mge): remove a duplicated __init__ call in jit.trace
GitOrigin-RevId:
d898f42fc4
tags/v1.0.0-rc1
Megvii Engine Team
4 years ago
parent
517c1ec007
commit
2a300415bc
1 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
imperative/python/megengine/jit/tracing.py
+ 1
- 3
imperative/python/megengine/jit/tracing.py
View File
@@ -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,
Write
Preview
Loading…
Cancel
Save