redistribute#

caput.memdata.MemDatasetDistributed.redistribute(axis)[source]#

Change the axis that the dataset is distributed over.

This will make internal copies of the data to redistribute it over the new axis, but the MemDatasetDistributed object is unchanged.

Parameters:
axisint

Axis to distribute over.