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

Function execution_step_with_progress

caffe2/python/dataset.py:173–182  ·  view source on GitHub ↗
(name, init_net, substeps, rows_read)

Source from the content-addressed store, hash-verified

171
172
173def execution_step_with_progress(name, init_net, substeps, rows_read):
174 # progress reporter
175 report_net = core.Net('report_net')
176 report_net.Print([rows_read], [])
177 return core.execution_step(
178 name,
179 substeps,
180 report_net=report_net,
181 concurrent_substeps=True,
182 report_interval=5)
183
184
185class Dataset:

Callers

nothing calls this directly

Calls 2

NetMethod · 0.80
execution_stepMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…