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 {
vm_->functions[func_index] = vm_func;
}
#ifdef USE_RELAY_DEBUG
for (auto vm_func : vm.functions) {
std::cout << "Function: " << vm_func.name << std::endl
<< vm_func << "-------------" << std::endl;
}
#if USE_RELAY_DEBUG
for (auto vm_func : vm_->functions) {
DLOG(INFO) << vm_func << "-------------";
}
#endif // USE_RELAY_DEBUG
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