[Relay][Op] Enhance Upsample Operator to support float scales (#4206)
authorXingyu Zhou <zhoxingy@amazon.com>
Mon, 28 Oct 2019 18:34:56 +0000 (11:34 -0700)
committerZhi <5145158+zhiics@users.noreply.github.com>
Mon, 28 Oct 2019 18:34:56 +0000 (11:34 -0700)
commit8b1fb4d592d0b0eb889087ea0d376764c3d4dc3d
treec81f79ccdaf666563117beccb6aacfd7504424d5
parent2e07447e4bd4ba648222ffc00bef3ea041265979
[Relay][Op] Enhance Upsample Operator to support float scales   (#4206)

* :add scale2 for upsample

* update unit test for upsampling

* support latest upsample op for multiple frontend

* fix lint

* fix lint

* fix lint

* fix lint

* update scale description and rebase
18 files changed:
include/tvm/expr_operator.h
include/tvm/relay/attrs/nn.h
nnvm/python/nnvm/to_relay.py
python/tvm/relay/frontend/caffe2.py
python/tvm/relay/frontend/coreml.py
python/tvm/relay/frontend/darknet.py
python/tvm/relay/frontend/keras.py
python/tvm/relay/frontend/nnvm_common.py
python/tvm/relay/frontend/onnx.py
python/tvm/relay/op/nn/_nn.py
python/tvm/relay/op/nn/nn.py
src/relay/op/nn/upsampling.cc
tests/python/relay/test_op_level2.py
tests/python/relay/test_pass_alter_op_layout.py
tests/python/relay/test_pass_fuse_ops.py
topi/python/topi/nn/upsampling.py
topi/python/topi/testing/upsampling_python.py
topi/tests/python/test_topi_upsampling.py