MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / __iter__

Method __iter__

tensorpack/dataflow/parallel_map.py:85–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83 yield dp
84
85 def __iter__(self):
86 if self._strict:
87 yield from self.get_data_strict()
88 else:
89 yield from self.get_data_non_strict()
90
91
92class MultiThreadMapData(_ParallelMapData):

Callers

nothing calls this directly

Calls 2

get_data_strictMethod · 0.95
get_data_non_strictMethod · 0.95

Tested by

no test coverage detected