[ONNX] Skip multiply with 1.0f constant for GEMM import (#5800)
authorBalint Cristian <cristian.balint@gmail.com>
Sun, 14 Jun 2020 03:39:20 +0000 (06:39 +0300)
committerGitHub <noreply@github.com>
Sun, 14 Jun 2020 03:39:20 +0000 (12:39 +0900)
commit12558b6f725e4341f3e5c905ee158a50d919df1b
tree06bb1dd6d1710497d7dd0c1f2ed7b155e5bb3a17
parenta14a98e845f7d076e3a060442c65cfd14216f54c
[ONNX] Skip multiply with 1.0f constant for GEMM import (#5800)

* [ONNX] Skip ADD inside Gemm op when vector is zero

* [ONNX] Skip multiply with 1.0f constant for GEMM import
python/tvm/relay/frontend/onnx.py