ray.data.DataIterator.materialize#

DataIterator.materialize() MaterializedDataset[source]#

Execute and materialize this data iterator into object store memory.

Note

This method triggers the execution and materializes all blocks of the iterator, returning its contents as a MaterializedDataset for further processing.

PublicAPI (beta): This API is in beta and may change before becoming stable.