Update precision in the ONNX strided_slice, update precision of ToScalar (#6272)
authorMatthew Brookhart <mbrookhart@octoml.ai>
Fri, 14 Aug 2020 17:27:20 +0000 (10:27 -0700)
committerGitHub <noreply@github.com>
Fri, 14 Aug 2020 17:27:20 +0000 (10:27 -0700)
commit8d91058ffab89c2e706ce214f736c8fadeb7e151
treef3d99b4f578bdc7fda58bc80253a7ea8c47bc385
parent37912a1bf892bcac6a71255e7ae522b33f4e7ac6
Update precision in the ONNX strided_slice, update precision of ToScalar (#6272)

* Update precision in the ONNX strided_slice, update precision of ToScalar

* fix tests
python/tvm/relay/frontend/onnx.py
src/relay/transforms/pattern_util.h
tests/python/frontend/onnx/test_forward.py