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

Method __iter__

dali/test/python/test_external_source_impl.py:160–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 self.idx = 0
159
160 def __iter__(self):
161 return SampleIterator(iter(self.src), self.is_multioutput)
162
163 def __next__(self):
164 batch_size = len(self.batch[0]) if self.is_multioutput else len(self.batch)

Callers

nothing calls this directly

Calls 1

SampleIteratorClass · 0.85

Tested by

no test coverage detected