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

Method local_reporter

caffe2/python/net_builder.py:468–474  ·  view source on GitHub ↗

Similar to task_report, but operations defined within this block will run repeatedly for as long as any of the tasks in the current TaskGroup have not finished.

(self, interval_ms=1000, name=None)

Source from the content-addressed store, hash-verified

466 return _ReporterBuilder(interval_ms, net=self.net(), name=name)
467
468 def local_reporter(self, interval_ms=1000, name=None):
469 """
470 Similar to task_report, but operations defined within this block
471 will run repeatedly for as long as any of the tasks in the current
472 TaskGroup have not finished.
473 """
474 return _ReporterBuilder(interval_ms, name=name)
475
476
477ops = Operations()

Callers

nothing calls this directly

Calls 1

_ReporterBuilderClass · 0.85

Tested by

no test coverage detected