Commit f3dcab42 by 雾雨魔理沙 Committed by Wuwei Lin

[Relay] use transform instead of ir_pass for CPS (#3485)

parent 882ae126
...@@ -457,7 +457,7 @@ def ToCPS(expr, mod=None): ...@@ -457,7 +457,7 @@ def ToCPS(expr, mod=None):
result: tvm.relay.Pass result: tvm.relay.Pass
The registered pass that transforms an expression into CPS. The registered pass that transforms an expression into CPS.
""" """
return _ir_pass.to_cps(expr, mod) return _transform.to_cps(expr, mod)
def EtaExpand(): def EtaExpand():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment