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

Method pport

imperative/python/megengine/tools/draw_graph.py:32–33  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

30 return s
31
32 def pport(d):
33 return "|".join("<{}> {}".format(k, quote(v)) for k, v in d.items())
34
35 in_ports = pport(self.input_labels)
36 out_ports = pport(self.output_labels)

Callers

nothing calls this directly

Calls 3

joinMethod · 0.80
itemsMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected