Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
join
Method · 0.80
items
Method · 0.80
format
Method · 0.45
Tested by
no test coverage detected