(stream, n_devices)
Repeat a stream indefinitely.
Repeat a stream indefinitely.
Repeat a stream indefinitely .
def _repeat_stream(stream, n_devices):
  """Repeat a stream indefinitely."""
  while True:
    for example in stream(n_devices):
      yield example
def _repeat_stream ( stream , n_devices ) : while True : for example in stream ( n_devices ) : yield example