ksuit.schedules.custom_schedule

Classes

CustomSchedule

Custom schedule that simply returns the values provided in the constructor.

Module Contents

class ksuit.schedules.custom_schedule.CustomSchedule(config)

Bases: ksuit.schedules.base.ScheduleBase

Custom schedule that simply returns the values provided in the constructor.

Example

>>> schedule_config:
>>>   kind: ksuit.schedules.CustomSLchedule
>>>   values:
>>>     - 1.0e-3
>>>     - 5.0e-4
>>>     - 1.0e-4

Initialize the scheduler.

Parameters:
  • overhang_percent – The percentage by which the schedule is artificially prolonged.

  • overhang_steps – The number of steps by which the schedule is artificially prolonged.

  • config (ksuit.schemas.scheduler.CustomScheduleConfig)

values