I built TVM source on Windows and compiled an ONNX model to generate files: dll/lib, json, params successfully by Python API. Then I write a C++ demo to load dll file, but it throws exception:
tvm::runtime::Module mod_syslib = tvm::runtime::Module::LoadFromFile(“path/to/my.dll”);
Microsoft C++ exception: std::bad_alloc at memory location 0x000000000027C450.
Win7-64bit, VS2015