Comments (5)
What's your use case of using to_block()?
from dgl.
What's your use case of using to_block()?
from dgl.
to_block is to create a bipartite-structured block for message passing. It is more an internal util method than public api of dgl, we expose it just in case users want to experiment with it. Can you be more specific about why you need to use to_block to create a bipartite-structured block? Can DGLGraph fit your need?
from dgl.
to_block is to create a bipartite-structured block for message passing. It is more an internal util method than public api of dgl, we expose it just in case users want to experiment with it. Can you be more specific about why you need to use to_block to create a bipartite-structured block? Can DGLGraph fit your need?
It is found that the assignment behavior here is normal if to_block is not used. I encountered this problem when I used dist dgl for neighbor sampling and found that the generated block has no attributes. I need to pull data through DistGraph in a way like "batch _ labels = g. ndata ["labels "] [seeds]. long (). To (device)". I hope to unify the training codes of stand-alone and distributed. I re-implement the sampler_block of neighborSampler and assign attributes to the block in it.
from dgl.
This issue has been automatically marked as stale due to lack of activity. It will be closed if no further activity occurs. Thank you
from dgl.
Related Issues (20)
- [GraphBolt] ogbn-arxiv accuracy values are lower than expected. HOT 10
- Code running for distributed graph training HOT 2
- [liburing] redefinition of 'struct in6_pktinfo' when building on ubi7 with gcc/g++ 9.5.0 HOT 2
- [GraphBolt] Fix the performance issue of `graphbolt::parallel_for`. HOT 1
- [GraphBolt] Edge feature fetching does not work.
- [GraphBolt] Store `ORIGINAL_EDGE_ID` in `FeatureStore`. HOT 5
- DGL installation does not install pyyaml and pydantic as dependancies HOT 1
- [GraphBolt] Enable `CPUCachedFeature` for r-gcn mag240M example.
- [CI] Update CI compiler versions
- how to use gpu to generate graph ? (to generate edges and nodes ) HOT 2
- ImportError: Cannot load Graphbolt C++ library HOT 7
- Restrict `torch` versions in `setup.py` HOT 1
- [GraphBolt] WARNING: An experimental feature for CUDA allocations is turned on HOT 12
- sample_neighbor not behaving as expected on onDiskDataset HOT 11
- HeteroGraphConv's forward need to modify HOT 3
- HeteroGraphConv documentation sample code crash HOT 1
- DGL DataLoader does not maintain example order with shuffle=False when using multiple workers. HOT 1
- [DataLoader] User-defined Dataloader Problem HOT 1
- SDDMM operator fails in distributed environment
- [GraphBolt] Hetero example broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dgl.