Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
icemelon committed Jun 9, 2020
1 parent c45b9de commit 73feaa3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/tvm/relay/transform/memory_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,14 +332,11 @@ def visit_function(self, fn):

def visit_let(self, let):
bindings = []
i = 0
while isinstance(let, expr.Let):
print(i)
new_var = self.visit(let.var)
new_val = self.visit(let.value)
bindings.append((new_var, new_val))
let = let.body
i += 1

new_body = self.visit(let)
return mk_let(bindings, new_body)
Expand Down

0 comments on commit 73feaa3

Please sign in to comment.