def METHOD_NAME():
    sampler = torch.utils.data.SequentialSampler(range(10))
    batch_sampler = torch.utils.data.BatchSampler(sampler, 3, False)
    repeat_batch_sampler = samplers.RepeatBatchSampler(batch_sampler)
    assert len(repeat_batch_sampler) == 4
    one_pass = list(batch_sampler)
    iterator = iter(repeat_batch_sampler)
    for _ in range(3):
        assert one_pass == [next(iterator) for _ in range(len(one_pass))]