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

Method __str__

python/dgl/_ffi/ndarray.py:322–323  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

320 return res
321
322 def __str__(self):
323 return str(self.asnumpy())
324
325 def asnumpy(self):
326 """Convert this array to numpy array

Callers

nothing calls this directly

Calls 1

asnumpyMethod · 0.95

Tested by

no test coverage detected