[Relay/TOPI][OP] Add clip and wrap mode support in take (#2858)
authorHaichen Shen <shenhaichen@gmail.com>
Mon, 1 Apr 2019 22:40:11 +0000 (15:40 -0700)
committerYizhi Liu <liuyizhi@apache.org>
Mon, 1 Apr 2019 22:40:11 +0000 (06:40 +0800)
commit3746d9026a12838cdab8604551cd5fd7f3595a01
tree92f65d48551eaa6f967ca09e1d05e401e9d21469
parent7cc9240ae8304bf2305ed7a2dc6afded28288ba5
[Relay/TOPI][OP] Add clip and wrap mode support in take (#2858)

* Update take

* Add special case for canonical simplify and fix test cases

* Use lower case for wrap and clip

* remove unnecssary lower

* Fix mxnet converter for take

* fix
12 files changed:
3rdparty/HalideIR
include/tvm/relay/attrs/transform.h
python/tvm/relay/frontend/mxnet.py
python/tvm/relay/op/transform.py
src/relay/op/tensor/transform.cc
tests/python/frontend/mxnet/test_forward.py
tests/python/relay/test_op_level3.py
tests/python/unittest/test_arith_simplify.py
topi/include/topi/transform.h
topi/python/topi/transform.py
topi/src/topi.cc
topi/tests/python/test_topi_transform.py