This issue has been migrated from https://github.com/deeplearning4j/deeplearning4j/issues/4884 Original author @AlexDBlack ---- Links here are broken due to recent reorganization: https://deeplearning4j.org/quickref#data-iter-util