Operate the neural network for some batch size n of episodes, and then batch train the neural net on that. Then repeat until convergence is reached.