Commit 2b15684f by srkreddy1238 Committed by Tianqi Chen

Correction in C++sample code. (#238)

Variable declaration correction.
parent a6182eaa
...@@ -50,7 +50,7 @@ An example in c++. ...@@ -50,7 +50,7 @@ An example in c++.
int main() int main()
{ {
// tvm module for compiled functions // tvm module for compiled functions
tvm::runtime::Module mod_dylib = tvm::runtime::Module::LoadFromFile("deploy.so"); tvm::runtime::Module mod_syslib = tvm::runtime::Module::LoadFromFile("deploy.so");
// json graph // json graph
std::ifstream json_in("deploy.json", std::ios::in); std::ifstream json_in("deploy.json", std::ios::in);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment