code: def test_exp_schedule(backend_default):
      """
      Test exponential learning rate schedule
      """
      lr_init = 0.1
      decay = 0.01
      sch = ExpSchedule(decay)
      for epoch in range(10):
          lr = sch.get_learning_rate(learning_rate=lr_init, epoch=epoch)
          assert allclose_with_out(lr, lr_init / (1.0 + decay * epoch))
  
file_path: neon/tests/test_schedule.py
imports: import numpy
  from neon.optimizers import Schedule, ExpSchedule, PowerSchedule, StepSchedule, ShiftSchedule
  from utils import allclose_with_out
label_desc: Use image node_id 4 for calling a global function with example usage: test_exp_schedule(backend_default) without return types