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

Method tasks

caffe2/python/task.py:223–228  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

221 self._tasks.append(task)
222
223 def tasks(self):
224 for task in self._tasks_to_add:
225 self.add(task)
226 self._tasks_to_add = []
227 self._already_used = True
228 return self._tasks
229
230 def num_registered_tasks(self):
231 return len(self._tasks_to_add) + len(self._tasks)

Callers 4

tasks_by_nodeMethod · 0.95
to_taskMethod · 0.80
analyze_task_groupFunction · 0.80
print_task_groupFunction · 0.80

Calls 1

addMethod · 0.95

Tested by

no test coverage detected