class_docstr: A `Dataset` that sleeps before producing each upstream element.
class_docstr_tok: ["A","`","Dataset","`","that","sleeps","before","producing","each","upstream","element","."]
code: def __init__(self, input_dataset, sleep_microseconds):
      self._input_dataset = input_dataset
      self._sleep_microseconds = sleep_microseconds
      variant_tensor = gen_experimental_dataset_ops.sleep_dataset(
          self._input_dataset._variant_tensor,  # pylint: disable=protected-access
          self._sleep_microseconds,
          **self._flat_structure,
      )
      super(_SleepDataset, self).__init__(input_dataset, variant_tensor)
  
imports: from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.ops import gen_experimental_dataset_ops
label_desc: Use image node_id 1 to create a new _SleepDataset object from inherited base classes: dataset_ops with example: obj = _SleepDataset(input_dataset, sleep_microseconds)