docstr: Test a dataset that repeats its input multiple times.
docstr_tok: ["Test","a","dataset","that","repeats","its","input","multiple","times","."]
code: def testFiniteRepeat(self, count):
      """Test a dataset that repeats its input multiple times."""
      components = (np.array(1), np.array([1, 2, 3]), np.array(37.0))
      dataset = dataset_ops.Dataset.from_tensors(components).repeat(
          count
      )
      self.assertEqual(
          [c.shape for c in components],
          [
              shape
              for shape in dataset_ops.get_legacy_output_shapes(dataset)
          ],
      )
      self.assertDatasetProduces(dataset, [components] * count)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.experimental.ops import random_access
  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.data.ops import options
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the RepeatTest obj's underlying member method code with example usage: obj.testFiniteRepeat(count) without return types