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

Method ctx

python/dgl/graph_index.py:915–923  ·  view source on GitHub ↗

Return the context of this graph index. Returns ------- DGLContext The context of the graph.

(self)

Source from the content-addressed store, hash-verified

913 return _CAPI_DGLToImmutable(self)
914
915 def ctx(self):
916 """Return the context of this graph index.
917
918 Returns
919 -------
920 DGLContext
921 The context of the graph.
922 """
923 return _CAPI_DGLGraphContext(self)
924
925 @property
926 def dtype(self):

Callers 15

test_graph_convFunction · 0.45
test_graph_conv2Function · 0.45
test_graph_conv2_biFunction · 0.45
test_tagconvFunction · 0.45
test_gat_convFunction · 0.45
test_gat_conv_biFunction · 0.45
test_sage_convFunction · 0.45
test_sage_conv_biFunction · 0.45
test_sage_conv_bi2Function · 0.45
test_gg_convFunction · 0.45
test_cheb_convFunction · 0.45
test_agnn_convFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_graph_convFunction · 0.36
test_graph_conv2Function · 0.36
test_graph_conv2_biFunction · 0.36
test_tagconvFunction · 0.36
test_gat_convFunction · 0.36
test_gat_conv_biFunction · 0.36
test_sage_convFunction · 0.36
test_sage_conv_biFunction · 0.36
test_sage_conv_bi2Function · 0.36
test_gg_convFunction · 0.36
test_cheb_convFunction · 0.36
test_agnn_convFunction · 0.36