code: def decaying(
      base_rate: float, decay: float, *, t: int = 0
  ) -> Iterable[float]:
      """Yield an infinite series of linearly decaying values,
      following the schedule: base_rate * 1 / (1 + decay * t)
  
      EXAMPLE:
          >>> learn_rates = decaying(0.001, 1e-4)
          >>> next(learn_rates)
          0.001
          >>> next(learn_rates)
          0.00999
      """
      while True:
          yield base_rate * (1.0 / (1.0 + decay * t))
          t += 1
  
file_path: thinc/thinc/schedules.py
imports: from typing import Iterable
  import numpy
  from .config import registry
label_desc: Use image node_id 3 for calling a global function with example usage: decaying(base_rate, decay) without return types