code: def test_constant_schedule():
      cs = ConstantSchedule(5)
      for i in range(-100, 100):
          assert np.isclose(cs.value(i), 5)
  
imports: import numpy
  from baselines.common.schedules import ConstantSchedule, PiecewiseSchedule
label_desc: Use image node_id 2 for calling a global function with example usage: test_constant_schedule() without return types