Commit ca432bd5 by Wei Chen Committed by Tianqi Chen

[Relay][VM]Fix debug statement (#3565)

* [Relay][VM]Fix debug statement

* Change debug statement
parent 5c864ac8
...@@ -739,11 +739,10 @@ class VMCompiler : public runtime::ModuleNode { ...@@ -739,11 +739,10 @@ class VMCompiler : public runtime::ModuleNode {
vm_->functions[func_index] = vm_func; vm_->functions[func_index] = vm_func;
} }
#ifdef USE_RELAY_DEBUG #if USE_RELAY_DEBUG
for (auto vm_func : vm.functions) { for (auto vm_func : vm_->functions) {
std::cout << "Function: " << vm_func.name << std::endl DLOG(INFO) << vm_func << "-------------";
<< vm_func << "-------------" << std::endl; }
}
#endif // USE_RELAY_DEBUG #endif // USE_RELAY_DEBUG
PopulatePackedFuncMap(); PopulatePackedFuncMap();
......
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