FATE
FATE copied to clipboard
Improve mini-batch efficiency
Is your feature request related to a problem? Please describe. The current mini-batch strategy is not efficient. The mini-batch data should be generated at the beginning and no need to generate again in each iterations.
Besides, the index generator and data generator is similar which can be merged into one method.
Describe the solution you'd like Optimize the mini-batch implementation.