sony / nnabla

Neural Network Libraries
https://nnabla.org/
Apache License 2.0
2.73k stars 334 forks source link

fix simple data source shuffle problem #1187

Closed TomonobuTsujikawa closed 1 year ago

TomonobuTsujikawa commented 1 year ago

The PR: https://github.com/sony/nnabla/pull/1160 introduced a bug that SimpleDataSource must have different order after 16 epochs. So, this PR fixes the problem in simple data source shuffle, and adds test code for this feature.