Skip to content

Commit

Permalink
find error
Browse files Browse the repository at this point in the history
jared look at here, test_cps dont work anymore

commit

lint

remove debug code

remove outdated todo

add let polymorphism test

save

fix test

save
  • Loading branch information
MarisaKirisame committed Sep 7, 2019
1 parent d983094 commit 3e0746e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/tvm/relay/prelude.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,14 @@ def define_list_zip(self):
PatternConstructor(self.cons,
[PatternVar(h2), PatternVar(t2)])]),
self.cons(Tuple([h1, h2]), self.zip(t1, t2)))
<<<<<<< HEAD
nil_case = Clause(PatternWildcard(), self.nil())
self.mod[self.zip] = Function([l1, l2], Match(Tuple([l1, l2]), [cons_case, nil_case]),
>>>>>>> [Relay] add Tuple pattern (#3596)
=======
wildcard_case = Clause(PatternWildcard(), self.nil())
self.mod[self.zip] = Function([l1, l2], Match(Tuple([l1, l2]), [cons_case, wildcard_case]),
>>>>>>> find error
self.l(TupleType([a, b])), [a, b])


Expand Down

0 comments on commit 3e0746e

Please sign in to comment.