MCPcopy
hub / github.com/ray-project/ray / _wrapped_iterator

Method _wrapped_iterator

python/ray/data/iterator.py:337–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

335 )
336
337 def _wrapped_iterator():
338 for batch in batch_iterable:
339 batch = BlockAccessor.for_block(BlockAccessor.batch_to_block(batch))
340 for row in batch.iter_rows(public_row_format=True):
341 yield row
342
343 return _IterableFromIterator(_wrapped_iterator)
344

Callers

nothing calls this directly

Calls 3

batch_to_blockMethod · 0.80
for_blockMethod · 0.45
iter_rowsMethod · 0.45

Tested by

no test coverage detected