MCPcopy Index your code
hub / github.com/dmlc/dgl / indices

Method indices

python/dgl/ndarray.py:261–269  ·  view source on GitHub ↗

Index arrays. Returns ------- list of ndarrays

(self)

Source from the content-addressed store, hash-verified

259
260 @property
261 def indices(self):
262 """Index arrays.
263
264 Returns
265 -------
266 list of ndarrays
267 """
268 ret = [_CAPI_DGLSparseMatrixGetIndices(self, i) for i in range(3)]
269 return [F.zerocopy_from_dgl_ndarray(arr) for arr in ret]
270
271 @property
272 def flags(self):

Callers 3

test_adjFunction · 0.45
test_spspdivFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_adjFunction · 0.36
test_spspdivFunction · 0.36