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

Function analyze_task_group

caffe2/python/net_printer.py:138–141  ·  view source on GitHub ↗
(analyzer, tg)

Source from the content-addressed store, hash-verified

136
137@Analyzer.register(TaskGroup)
138def analyze_task_group(analyzer, tg):
139 for task in tg.tasks_by_node().tasks():
140 with analyzer.set_workspace(node=task.node):
141 analyzer(task)
142
143
144@Analyzer.register(Job)

Callers

nothing calls this directly

Calls 3

tasksMethod · 0.80
tasks_by_nodeMethod · 0.80
set_workspaceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…