spacemeerkat:

does this mean that the function will draw samples for each batch randomly from the entire dataset.


Yes



 spacemeerkat:

So in epoch 2 the objects in batch 1 will not be the same as in batch 1 from epoch 3 for example?


One cannot guarantee that, since that is a random process, but for large training sets, it is very likely.