Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ _print_task_output
Function
_print_task_output
caffe2/python/net_printer.py:370–372 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
368
369
370
def
_print_task_output(x):
371
assert isinstance(x, TaskOutput)
372
return
'Output['
+
', '
.join(str(x)
for
x in x.names) +
']'
373
374
375
@Printer.register(Task)
Callers
2
print_task
Function · 0.85
print_job
Function · 0.85
Calls
2
isinstance
Function · 0.85
join
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…