code: def test_decaying_rate():
      rates = decaying(0.001, 1e-4)
      rate = next(rates)
      assert rate == 0.001
      next_rate = next(rates)
      assert next_rate < rate
      assert next_rate > 0
      assert next_rate > next(rates)
  
imports: from thinc.api import compounding, constant, constant_then, cyclic_triangular, decaying, slanted_triangular, warmup_linear
label_desc: Use image node_id 1 for calling a global function with example usage: test_decaying_rate() without return types