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

Method load

imperative/python/megengine/utils/network_node.py:648–652  ·  view source on GitHub ↗
(cls, opr)

Source from the content-addressed store, hash-verified

646
647 @classmethod
648 def load(cls, opr):
649 obj = super(Eye, cls).load(opr)
650 obj.params["dtype"] = opr.outputs[0].dtype
651 obj.params["comp_node"] = opr.outputs[0].comp_node
652 return obj
653
654
655class GetVarShape(OpNode):

Callers 12

loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected