neoml
neoml copied to clipboard
[NeoML] IShuffledBatchGenerator in CProblemSourceLayer
The SetProblem
method of the CProblemSourceLayer
class now has an optional shuffle
flag, which when enabled causes the indexes in the batch to be randomly generated. At the same time, a new permutation is generated each epoch, meaning that duplicates in the batch are reduced to a minimum.