class_docstr: A `Dataset` that repeats its input several times.
docstr: See `Dataset.repeat()` for details.
code: def __init__(self, input_dataset, count, name=None):
      """See `Dataset.repeat()` for details."""
      self._input_dataset = input_dataset
      if count is None:
          self._count = constant_op.constant(
              -1, dtype=dtypes.int64, name="count"
          )
      else:
          self._count = ops.convert_to_tensor(
              count, dtype=dtypes.int64, name="count"
          )
      self._name = name
      variant_tensor = gen_dataset_ops.repeat_dataset(
          input_dataset._variant_tensor,  # pylint: disable=protected-access
          count=self._count,
          **self._common_args,
      )
      super().__init__(input_dataset, variant_tensor)
  
file_path: tensorflow/tensorflow/python/data/ops/repeat_op.py
imports: from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import gen_dataset_ops
label_desc: Use image node_id 1 to create a new _RepeatDataset object from inherited base classes: dataset_ops with example: obj = _RepeatDataset(input_dataset, count, name)