code: def testReshuffling(self):
      # Check that the output orders of different epochs are indeed different.
      output = self._gen_outputs(lambda: self._build_ds(10), 100)
      for i in range(4):
          epoch1 = output[i * 20 : (i + 1) * 20]
          epoch2 = output[(i + 1) * 20 : (i + 2) * 20]
          self.assertNotEqual(epoch1, epoch2)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.experimental.ops import shuffle_ops
  from tensorflow.python.data.kernel_tests import checkpoint_test_base
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import random_seed
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the ShuffleAndRepeatTest obj's underlying member method code with example usage: obj.testReshuffling() without return types