code: def test_shift_schedule(backend_default):
      """
      Test binary shift learning rate schedule
      """
      lr_init = 0.1
      interval = 1
      sch = ShiftSchedule(interval)
      for epoch in range(10):
          lr = sch.get_learning_rate(learning_rate=lr_init, epoch=epoch)
          assert allclose_with_out(lr, lr_init / (2**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 5 for calling a global function with example usage: test_shift_schedule(backend_default) without return types