def METHOD_NAME(batch_size, layout, shape, device):
    eiis = [RandomDataIterator(batch_size, shape=shape) for k in range(2)]
    compare_pipelines(SynthFlipPipeline(batch_size, layout, iter(eiis[0]), device),
                      SynthPythonFlipPipeline(batch_size, layout, iter(eiis[1])),
                      batch_size=batch_size, N_iterations=3)