MCPcopy 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
370def _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_taskFunction · 0.85
print_jobFunction · 0.85

Calls 2

isinstanceFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…