Files
apache--tvm/python
Gustavo Romero b56f9e5796 [TVMC] compile: Check if FILE exists (#10608)
Currently when a non-existing FILE is passed to 'tvmc compile' it throws
a traceback because a FileNotFoundError exception is not handled. Since
there is no need for such abrupt exit, and the trace can also confuse
users, this commit fixes it by checking if FILE indeed exists, informing
the user about the non-existing FILE before exiting.

Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
2022-03-25 13:15:22 +09:00
..