-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
add support for subgraphs. #1221
Conversation
@tqchen @piiswrong could you review the code again? |
I tried all unit tests in tests/python/unittest and all of them work fine. |
await approval from @piiswrong we want to merge this in so it won't block @zheng-da |
64acc33
to
dfa479e
Compare
@tqchen It seems that CI failed because "no space left on device". Could you help with this issue? Thanks! |
should be fixed, please rebase to trigger build again |
* add support for subgraphs. * fix. * fix. * Fix compilation error * Fix compilation error * add comments. * update comments. * Sanity check on subgraphs when creating IndexedGraph * avoid the overhead of sanity check. * Stop using non-recursive DFS * Trigger CI * trigger CI
* add support for subgraphs. * fix. * fix. * Fix compilation error * Fix compilation error * add comments. * update comments. * Sanity check on subgraphs when creating IndexedGraph * avoid the overhead of sanity check. * Stop using non-recursive DFS * Trigger CI * trigger CI
* add support for subgraphs. * fix. * fix. * Fix compilation error * Fix compilation error * add comments. * update comments. * Sanity check on subgraphs when creating IndexedGraph * avoid the overhead of sanity check. * Stop using non-recursive DFS * Trigger CI * trigger CI
This PR allows users to provide a subgraph as the input of an operator and save and load a graph with subgraph nodes. The subgraph has to be disjoint with the main graph.