Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor glitch in compiler.cc when compiling with USE_RELAY_DEBUG #3564

Closed
chuck-pilkington opened this issue Jul 17, 2019 · 0 comments · Fixed by #3565
Closed

Minor glitch in compiler.cc when compiling with USE_RELAY_DEBUG #3564

chuck-pilkington opened this issue Jul 17, 2019 · 0 comments · Fixed by #3565

Comments

@chuck-pilkington
Copy link

chuck-pilkington commented Jul 17, 2019

@icemelon9 :

In tvm/src/relay/backend/vm/compiler.cc, I had to change vm.functions to vm_->functions to get the Compile function to compile:

b6dc78260 (Haichen Shen      2019-07-15 21:02:12 -0700 742) #ifdef USE_RELAY_DEBUG
000000000 (Not Committed Yet 2019-07-17 10:37:34 -0400 743)     for (auto vm_func : vm_->functions) {
b6dc78260 (Haichen Shen      2019-07-15 21:02:12 -0700 744)     std::cout << "Function: " << vm_func.name << std::endl
b6dc78260 (Haichen Shen      2019-07-15 21:02:12 -0700 745)               << vm_func << "-------------" << std::endl;
93d1c06d9 (Wei Chen          2019-07-09 11:48:44 -0700 746)   }
b6dc78260 (Haichen Shen      2019-07-15 21:02:12 -0700 747) #endif  // USE_RELAY_DEBUG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant