Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dmlc/dgl
/ create_random_graph
Function
create_random_graph
tests/distributed/utils.py:61–62 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
59
60
61
def
create_random_graph(n):
62
return
dgl.rand_graph(n, int(n * n * 0.001))
Callers
10
setup_module
Function · 0.90
check_server_client_empty
Function · 0.90
check_dist_emb_server_client
Function · 0.90
check_server_client
Function · 0.90
check_server_client_hierarchy
Function · 0.90
check_dist_optim_server_client
Function · 0.90
test_standalone
Function · 0.90
test_standalone_node_emb
Function · 0.90
test_split
Function · 0.90
test_split_even
Function · 0.90
Calls
no outgoing calls
Tested by
10
setup_module
Function · 0.72
check_server_client_empty
Function · 0.72
check_dist_emb_server_client
Function · 0.72
check_server_client
Function · 0.72
check_server_client_hierarchy
Function · 0.72
check_dist_optim_server_client
Function · 0.72
test_standalone
Function · 0.72
test_standalone_node_emb
Function · 0.72
test_split
Function · 0.72
test_split_even
Function · 0.72