MCPcopy Create free account
hub / github.com/NVIDIA/DALI / reset_indices

Method reset_indices

dali/python/nvidia/dali/external_source.py:228–230  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

226 return (arg,)
227
228 def reset_indices(self):
229 self.current_iter = 0
230 self.current_sample = 0
231
232 def prefetch(self, pool, context_i, batch_size, epoch_idx):
233 # NOTE We can't schedule more than what's on top of pipeline's prefetch queue, as the

Callers 3

schedule_and_receiveMethod · 0.95
get_batchMethod · 0.95
resetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected