parameters: (self, input_dataset, count)
docstring: See `Dataset.repeat()` for details.
docstring_summary: See `Dataset.repeat()` for details.
docstring_tokens: See Dataset . repeat () for details .
function: def __init__(self, input_dataset, count):
      """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")
      variant_tensor = gen_dataset_ops.repeat_dataset(
          input_dataset._variant_tensor,  # pylint: disable=protected-access
          count=self._count,
          **self._flat_structure)
      super(RepeatDataset, self).__init__(input_dataset, variant_tensor)
function_tokens: def __init__ ( self , input_dataset , count ) : 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" ) variant_tensor = gen_dataset_ops . repeat_dataset ( input_dataset . _variant_tensor , # pylint: disable=protected-access count = self . _count , * * self . _flat_structure ) super ( RepeatDataset , self ) . __init__ ( input_dataset , variant_tensor )