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

Method load

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

Source from the content-addressed store, hash-verified

663
664 @classmethod
665 def load(cls, opr):
666 obj = super(Concat, cls).load(opr)
667 obj.params["comp_node"] = Device("xpux").to_c()
668 return obj
669
670
671class Broadcast(OpNode):

Callers

nothing calls this directly

Calls 3

to_cMethod · 0.80
DeviceClass · 0.50
loadMethod · 0.45

Tested by

no test coverage detected