[dask] Convert dask bags to arrays more efficiently
Most inefficiencies were coming from that fact that we were creating a dask array with each sample as a separate chunk.
Edited by Amir MOHAMMADI
Most inefficiencies were coming from that fact that we were creating a dask array with each sample as a separate chunk.