def eta_scheduler(epoch, values=(0.1,), breakpoints=()):
  """Piecewise constant schedule for eta (selector weight learning rate)."""
  idx = sum(1 if epoch > b else 0 for b in breakpoints)
  return values[idx]