MCPcopy
hub / github.com/dmlc/dgl / graph

Method graph

python/dgl/graph_index.py:1022–1030  ·  view source on GitHub ↗

The subgraph structure Returns ------- GraphIndex The subgraph

(self)

Source from the content-addressed store, hash-verified

1020
1021 @property
1022 def graph(self):
1023 """The subgraph structure
1024
1025 Returns
1026 -------
1027 GraphIndex
1028 The subgraph
1029 """
1030 return _CAPI_DGLSubgraphGetGraph(self)
1031
1032 @property
1033 def induced_nodes(self):

Callers 15

create_dgl_objectFunction · 0.45
rand_graphFunction · 0.45
test_sequentialFunction · 0.45
test_sum_case1Function · 0.45
test_prop_nodes_topoFunction · 0.45
test_pin_memoryFunction · 0.45
test_all_binary_builtinsFunction · 0.45
test_node_homophilyFunction · 0.45
test_edge_homophilyFunction · 0.45
test_linkx_homophilyFunction · 0.45
test_adjusted_homophilyFunction · 0.45
generate_graphFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_sequentialFunction · 0.36
test_sum_case1Function · 0.36
test_prop_nodes_topoFunction · 0.36
test_pin_memoryFunction · 0.36
test_all_binary_builtinsFunction · 0.36
test_node_homophilyFunction · 0.36
test_edge_homophilyFunction · 0.36
test_linkx_homophilyFunction · 0.36
test_adjusted_homophilyFunction · 0.36
generate_graphFunction · 0.36
_test_map_to_subgraphFunction · 0.36
test_subgraph1Function · 0.36