I want to modify the content within a batch at every training iteration (consider training RBM with PCD, at every step, you want to start with the saved inputs from the last step), what is the best way to do this? If I have lots of data, I would imagine saving in the memory is not possible. Is there a package that allows me to save the updated data to the storage efficient?