Ensure loop count is a constant before trying to unroll. (#2797)
authorSalem Derisavi <derisavi@users.noreply.github.com>
Tue, 12 Mar 2019 23:12:10 +0000 (19:12 -0400)
committerTianqi Chen <tqchen@users.noreply.github.com>
Tue, 12 Mar 2019 23:12:10 +0000 (16:12 -0700)
commita2b45887aa816a84e1d8d162d7c382c8f1acfcd7
treeb23d411e3e5cb046cf005d1909256e7e1c66646d
parent864da8406472e3878b9c54e81e8e9304c23ed7c5
Ensure loop count is a constant before trying to unroll. (#2797)
src/pass/unroll_loop.cc
tests/python/unittest/test_pass_unroll.py