Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dmlc/dgl
/ ladies.py
File
ladies.py
examples/sparse/sampling/ladies.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
This script demonstrates how to use dgl sparse library to sample on graph and
3
train model. It trains and tests a LADIES model using the sparse power and
4
sp_broadcast_v operators to sample submatrix
from
the whole matrix.
Callers
nothing calls this directly
Calls
9
AsNodePredDataset
Class · 0.90
LADIES
Class · 0.85
coalesce
Method · 0.80
train
Function · 0.70
validate
Function · 0.70
device
Method · 0.45
to
Method · 0.45
edges
Method · 0.45
num_nodes
Method · 0.45
Tested by
no test coverage detected