[RUNTIME] Store nullptr PackedFunc as nullptr for better error propagation (#5540)
authorTianqi Chen <tqchen@users.noreply.github.com>
Fri, 8 May 2020 03:10:58 +0000 (20:10 -0700)
committerGitHub <noreply@github.com>
Fri, 8 May 2020 03:10:58 +0000 (20:10 -0700)
commit2b02d567c65dcf3b9464e66da203fe159f3a4351
tree0e05d4d1d4da6727cb3cfe798db14bd4fe6da774
parent19f322d70335c13c0d4f7af15c684bd414b90b40
[RUNTIME] Store nullptr PackedFunc as nullptr for better error propagation (#5540)
include/tvm/runtime/packed_func.h
tests/python/unittest/test_runtime_rpc.py