MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / numpy

Method numpy

imperative/python/megengine/utils/network_node.py:272–273  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

270 return self._opr.outputs[0].dtype if self._opr else None
271
272 def numpy(self):
273 return self.outputs[0].numpy()
274
275 def set_value(self, data, device=None):
276 assert self.graph is not None

Callers 15

deviceMethod · 0.95
compileMethod · 0.95
runFunction · 0.45
partial_shapeMethod · 0.45
runMethod · 0.45
_meanFunction · 0.45
_stdFunction · 0.45
_state_dictMethod · 0.45
__init__Method · 0.45
from_qat_moduleMethod · 0.45
from_qat_moduleMethod · 0.45
from_qat_moduleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected