[TOPI] add 3D upsampling Op. (#4584)
authoroptima2005 <56945758+optima2005@users.noreply.github.com>
Fri, 27 Dec 2019 14:25:25 +0000 (22:25 +0800)
committermasahi <masahi129@gmail.com>
Fri, 27 Dec 2019 14:25:25 +0000 (23:25 +0900)
commitc3deec194f4df209a1ea379f689f24d3f927493b
treeb0731143d7f614b9460d531ea2865603fc00dcd7
parent1071e24258b9d503e7bf7acbd1787a6829b11055
[TOPI] add 3D upsampling Op. (#4584)

* [TOPI] add 3D upsampling Op.

* fix lint issues

* change align_corners to coordinate_transformation_mode

* fix resize3d half_pixel

* make a simple function and clean up trilinear_resize3d_python

* fix doc
14 files changed:
docs/langref/relay_op.rst
include/tvm/relay/attrs/nn.h
python/tvm/relay/op/nn/_nn.py
python/tvm/relay/op/nn/nn.py
python/tvm/relay/op/op_attrs.py
src/relay/op/nn/upsampling.cc
tests/python/relay/test_op_level2.py
topi/python/topi/image/resize.py
topi/python/topi/nn/upsampling.py
topi/python/topi/testing/__init__.py
topi/python/topi/testing/trilinear_resize3d_python.py [new file with mode: 0644]
topi/python/topi/testing/upsampling_python.py
topi/tests/python/test_topi_resize.py
topi/tests/python/test_topi_upsampling.py