MCPcopy Index your code
hub / github.com/pytorch/pytorch / print_task_group

Function print_task_group

caffe2/python/net_printer.py:384–387  ·  view source on GitHub ↗
(text, tg, header=None)

Source from the content-addressed store, hash-verified

382
383@Printer.register(TaskGroup)
384def print_task_group(text, tg, header=None):
385 with text.context(header or call('TaskGroup')):
386 for task in tg.tasks_by_node().tasks():
387 text(task)
388
389
390@Printer.register(Job)

Callers

nothing calls this directly

Calls 5

callFunction · 0.85
textFunction · 0.85
tasksMethod · 0.80
tasks_by_nodeMethod · 0.80
contextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…