projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
882ae12
)
[Relay] use transform instead of ir_pass for CPS (#3485)
author
雾雨魔理沙
<lolisa@marisa.moe>
Wed, 3 Jul 2019 14:21:44 +0000
(07:21 -0700)
committer
Wuwei Lin
<vincentl13x@gmail.com>
Wed, 3 Jul 2019 14:21:44 +0000
(22:21 +0800)
python/tvm/relay/transform.py
patch
|
blob
|
history
diff --git
a/python/tvm/relay/transform.py
b/python/tvm/relay/transform.py
index
f77a532
..
2805e0b
100644
(file)
--- a/
python/tvm/relay/transform.py
+++ b/
python/tvm/relay/transform.py
@@
-457,7
+457,7
@@
def ToCPS(expr, mod=None):
result: tvm.relay.Pass
The registered pass that transforms an expression into CPS.
"""
- return _
ir_pass
.to_cps(expr, mod)
+ return _
transform
.to_cps(expr, mod)
def EtaExpand():