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

Method RunEveryMillis

caffe2/python/core.py:2759–2767  ·  view source on GitHub ↗

Run this step every interval millisecods, as long as its siblings are still running. It is guaranteed that, after all siblings finish, this step will run at least one. This property is ignored for top-level ExecutionSteps.

(self, interval)

Source from the content-addressed store, hash-verified

2757 self._step.should_stop_blob = str(should_stop_blob)
2758
2759 def RunEveryMillis(self, interval):
2760 """
2761 Run this step every interval millisecods, as long as its
2762 siblings are still running. It is guaranteed that, after all
2763 siblings finish, this step will run at least one.
2764
2765 This property is ignored for top-level ExecutionSteps.
2766 """
2767 self._step.run_every_ms = interval
2768
2769 def SetReportNet(self, report_net, report_interval):
2770 """ DEPRECATED. Use RunEveryMillis instead. """

Callers 4

execution_stepFunction · 0.95
report_stepMethod · 0.80
get_stepMethod · 0.80
__exit__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected