total batch size
feature padding value (by default None, meaning no feature padding)
label padding value (by default None, meaning no label padding)
if padding, it specifies the length of feature/label after padding (by default None, meaning the length after padding is set to the max length of feature/label in a mini-batch)
partition number of dataset, default means partitionNum equals Engine.nodeNumber()
Apply this transformer to rdd
Convert a sequence of single-feature and single-label Sample to a sequence of MiniBatch, optionally padding all the features (or labels) in the mini-batch to the same length
(Since version 0.2.0) Use SampleToMiniBatch instead