ksuit.schedules.constant_schedule

Classes

ConstantSchedule

Constant value schedule that returns the same value for all steps.

Module Contents

class ksuit.schedules.constant_schedule.ConstantSchedule(config)

Bases: ksuit.schedules.base.ScheduleBase

Constant value schedule that returns the same value for all steps.

Example

>>> schedule_config:
>>>   kind: ksuit.schedules.ConstantSchedule
>>>   value : ${model.optim.lr}

Initialize the scheduler.

Parameters:
  • scheduler_config – Configuration of the constant schedule.

  • config (ksuit.schemas.scheduler.ConstantScheduleConfig)

value