[RELAY] [OP] [MXNet Frontend] Add sequence_mask (#3437)
authorXingjian Shi <sxjscience001@gmail.com>
Fri, 28 Jun 2019 04:51:04 +0000 (21:51 -0700)
committerHaichen Shen <shenhaichen@gmail.com>
Fri, 28 Jun 2019 04:51:04 +0000 (21:51 -0700)
commit8ef221764219ffad1dbde6c61d906317643efb13
tree5c4fe847878f51df94a28480a2a87b1fb8b070a1
parentbe9275c92e6926b94c8f89dd66a9441904967554
[RELAY] [OP] [MXNet Frontend] Add sequence_mask (#3437)

* Add sequence_mask

use exactly the same arguments as mxnet

fix

* fix lint

* fix lint

* add mxnet conversion + relay

* update

* update doc

* fix pylint

* fix doc

* address comment

* try to address comments

* try to enable shape check for valid_length

* fix

* try to fix

* fix bug

* try to fix

* address comment

* address comment
15 files changed:
docs/api/python/topi.rst
docs/langref/relay_op.rst
include/tvm/relay/attrs/transform.h
python/tvm/relay/frontend/mxnet.py
python/tvm/relay/op/_transform.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_level10.py
topi/include/topi/transform.h
topi/python/topi/testing/__init__.py
topi/python/topi/testing/sequence_mask_python.py [new file with mode: 0644]
topi/python/topi/transform.py
topi/src/topi.cc
topi/tests/python/test_topi_transform.py