MCPcopy Create free account
hub / github.com/pytorch/pytorch / finish

Method finish

caffe2/python/parallel_workers.py:277–280  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

275 ))
276
277 def finish(self):
278 self._metrics.put_metric(
279 'worker_time', time.time() - self._start_time)
280 self._metrics.log_metrics()
281
282
283global_coordinator = GlobalWorkerCoordinator()

Callers 2

run_workerFunction · 0.45

Calls 2

put_metricMethod · 0.80
log_metricsMethod · 0.80

Tested by 1