MCPcopy
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"""
2This script demonstrates how to use dgl sparse library to sample on graph and
3train model. It trains and tests a LADIES model using the sparse power and
4sp_broadcast_v operators to sample submatrix from the whole matrix.

Callers

nothing calls this directly

Calls 9

AsNodePredDatasetClass · 0.90
LADIESClass · 0.85
coalesceMethod · 0.80
trainFunction · 0.70
validateFunction · 0.70
deviceMethod · 0.45
toMethod · 0.45
edgesMethod · 0.45
num_nodesMethod · 0.45

Tested by

no test coverage detected