code: def test_warmup_linear():
      rates = warmup_linear(1.0, 2, 10)
      expected = [
          0.0,
          0.5,
          1.0,
          0.875,
          0.75,
          0.625,
          0.5,
          0.375,
          0.25,
          0.125,
          0.0,
      ]
      for i in range(11):
          assert next(rates) == expected[i]
  
imports: from thinc.api import compounding, constant, constant_then, cyclic_triangular, decaying, slanted_triangular, warmup_linear
label_desc: Use image node_id 6 for calling a global function with example usage: test_warmup_linear() without return types