What is the use of 32 and yield statements in `__iter__()` function of RandomSampler class?

This seems be a duplicate of Random Sampler iterator function so I will respond in the separate thread