I use tvm-rpc apk for rpc connection, and compile the tvm and runtime with
set(USE_RPC ON)
set(USE_RELAY_DEBUG ON)
set(USE_GRAPH_EXECUTOR_DEBUG ON)
while complie the apk with default setting, coundnt runt with debug, which showed no tvm.graph_executor_debug.create
found.
later i added #include "../src/runtime/graph_executor/debug/graph_executor_debug.cc"
to tvm_runtime.h
, code runs.
but it seems thar GraphModuleDebug.run()
call RunOpRPC
from the android phone.
ps. GraphModuleDebug.profile()
couldnt run in this solution