[ONNX] Update slice to infer attributes when not graph inputs (#6276)
authorChris Sullivan <csullivan@octoml.ai>
Mon, 17 Aug 2020 22:22:51 +0000 (15:22 -0700)
committerGitHub <noreply@github.com>
Mon, 17 Aug 2020 22:22:51 +0000 (07:22 +0900)
commit4644991fbcd93fa316b14029dd316a16ade76aa3
tree139bb752343c9ae1c5e7285453a68ef896b24e94
parentf7316524acdd47e3a150af294708ecbe2de4051e
[ONNX] Update slice to infer attributes when not graph inputs (#6276)

* Update ONNX Slice converter to infer slice attributes when necessary.

* Linting
python/tvm/relay/frontend/onnx.py
tests/python/frontend/onnx/test_forward.py