code: def test_power_schedule(backend_default):
      """
      Test the PowerSchedule class
      """
      sch = PowerSchedule(step_config=2, change=0.5)
  
      target_lr = [1.0, 1.0, 0.5, 0.5, 0.25, 0.25, 0.125, 0.125]
  
      for e, lr in enumerate(target_lr):
          assert allclose_with_out(
              lr, sch.get_learning_rate(learning_rate=1.0, epoch=e)
          )
  
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 3 for calling a global function with example usage: test_power_schedule(backend_default) without return types