noether.core.schedules.custom

Classes

CustomScheduleConfig

CustomSchedule

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

Module Contents

class noether.core.schedules.custom.CustomScheduleConfig(/, **data)

Bases: noether.core.schedules.schemas.ScheduleBaseConfig

Parameters:

data (Any)

kind: Literal['noether.core.schedules.CustomSchedule'] = 'noether.core.schedules.CustomSchedule'

The fully qualified class name of the scheduler.

values: list[float]

The list of values that will be returned for each step. Values show ben as long as the number of steps.

class noether.core.schedules.custom.CustomSchedule(config)

Bases: noether.core.schedules.base.ScheduleBase

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

Example

schedule_config:
    kind: noether.core.schedules.CustomSchedule
    values:
        - 1.0e-3
        - 5.0e-4
        - 1.0e-4
Parameters:

config (CustomScheduleConfig) – Configuration of the custom schedule. See CustomScheduleConfig for details.

values