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

Method reverse

python/dgl/heterograph_index.py:1154–1163  ·  view source on GitHub ↗

Reverse the heterogeneous graph adjacency The node types and edge types are not changed. Returns ------- A new graph index.

(self)

Source from the content-addressed store, hash-verified

1152 return _CAPI_DGLHeteroCreateFormat(self)
1153
1154 def reverse(self):
1155 """Reverse the heterogeneous graph adjacency
1156
1157 The node types and edge types are not changed.
1158
1159 Returns
1160 -------
1161 A new graph index.
1162 """
1163 return _CAPI_DGLHeteroReverse(self)
1164
1165
1166@register_object("graph.HeteroSubgraph")

Callers 15

backwardMethod · 0.80
backwardMethod · 0.80
__init__Method · 0.80
backwardMethod · 0.80
gradFunction · 0.80
edge_softmax_realFunction · 0.80
backwardMethod · 0.80
backwardMethod · 0.80
backwardMethod · 0.80
backwardMethod · 0.80
forwardMethod · 0.80
forwardMethod · 0.80

Calls

no outgoing calls

Tested by 4

test_reverseFunction · 0.64
test_reverseFunction · 0.64
get_aucFunction · 0.64