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

Method load

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

Source from the content-addressed store, hash-verified

394
395 @classmethod
396 def load(cls, opr):
397 obj = super(MatrixMul, cls).load(opr)
398 dim1, dim2 = len(opr.inputs[0].shape), len(opr.inputs[1].shape)
399 obj.params["dimA"] = dim1
400 obj.params["dimB"] = dim2
401 return obj
402
403
404@register_flops(MatrixMul)

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected