noether.core.schedules.constant

Classes

ConstantSchedule

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

Module Contents

class noether.core.schedules.constant.ConstantSchedule(config)

Bases: noether.core.schedules.base.ScheduleBase

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

Example

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

Initialize the scheduler.

Parameters:
  • scheduler_config – Configuration of the constant schedule.

  • config (noether.core.schemas.schedules.ConstantScheduleConfig)

value