Skip to content

Commit

Permalink
Update ir_pass.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MarisaKirisame authored Dec 28, 2018
1 parent 10185c7 commit dbe90d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/tvm/relay/ir_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def post_order_visit(expr, fvisit):
----------
expr : tvm.relay.Expr
The input expression.
fvisit : function
The visitor function to be applied.
"""
Expand All @@ -35,7 +36,6 @@ def infer_type(expr, mod=None):
mod: Optional[tvm.relay.Module]
The global module.
Returns
-------
checked_expr : tvm.relay.Expr
Expand Down Expand Up @@ -368,6 +368,9 @@ def to_anf(expr, mod=None):
expr : tvm.relay.Expr
The input expression
mod: Optional[tvm.relay.Module]
The global module.
Returns
-------
expr: tvm.relay.Expr
Expand Down

0 comments on commit dbe90d1

Please sign in to comment.