Improve error messages in graph tuner, graph runtime, and module loader. (#6148)
authorTristan Konolige <tristan.konolige@gmail.com>
Wed, 29 Jul 2020 03:04:19 +0000 (20:04 -0700)
committerGitHub <noreply@github.com>
Wed, 29 Jul 2020 03:04:19 +0000 (20:04 -0700)
commit2e93aefe7f31890300beb2083e4995192e3be9b8
tree264cecfeb568dfd58c36f1c4bd14790a5a2d6f98
parent44ff1f3b5ed0751fee39537a0e6e3870a74c930b
Improve error messages in graph tuner, graph runtime, and module loader. (#6148)

* Raise error if no operators are found in GraphTuner

* Raise error if key cannot be found in graph runtime inputs

* Detailed error message when module loader is not found
python/tvm/autotvm/graph_tuner/base_graph_tuner.py
python/tvm/contrib/graph_runtime.py
src/runtime/library_module.cc
src/runtime/stackvm/stackvm_module.cc