noether.core.schedules.schemas¶
Classes¶
Module Contents¶
- class noether.core.schedules.schemas.ScheduleBaseConfig(/, **data)¶
Bases:
pydantic.BaseModel- Parameters:
data (Any)
- overhang_percent: float | None = None¶
The percentage by which the schedule is artificially prolonged. Mutually exclusive with overhang_steps.
- overhang_steps: int | None = None¶
The number of steps by which the schedule is artificially prolonged. Mutually exclusive with overhang_percent.
- interval: Literal['update', 'epoch'] = None¶
Whether the schedule is based on updates or epochs. Interval should be either “update” or “epoch”. Default is “update”. Under the hood steps is always used. However, when “epoch” is selected here, the step count is derived from epochs via the UpdateCounter.
- check_mutual_exclusion()¶
Ensures that ‘overhang_percent’ and ‘overhang_steps’ are mutually exclusive.
- Return type:
- validate_start_end_steps()¶
- Return type:
- validate_start_end_percents()¶
- Return type:
- class noether.core.schedules.schemas.ProgressScheduleConfig(/, **data)¶
Bases:
ScheduleBaseConfig- Parameters:
data (Any)
- kind: Literal['noether.core.schedules.ProgressSchedule'] = 'noether.core.schedules.ProgressSchedule'¶
The fully qualified class name of the scheduler.
- class noether.core.schedules.schemas.SchedulerConfig(/, **data)¶
Bases:
ScheduleBaseConfig- Parameters:
data (Any)
- kind: Literal['noether.core.schedules.scheduler.SchedulerConfig'] = 'noether.core.schedules.scheduler.SchedulerConfig'¶
The fully qualified class name of the scheduler.
- class noether.core.schedules.schemas.DecreasingProgressScheduleConfig(/, **data)¶
Bases:
ProgressScheduleConfig- Parameters:
data (Any)
- kind: Literal['noether.core.schedules.DecreasingProgressSchedule'] = 'noether.core.schedules.DecreasingProgressSchedule'¶
The fully qualified class name of the scheduler.
- class noether.core.schedules.schemas.IncreasingProgressScheduleConfig(/, **data)¶
Bases:
ProgressScheduleConfig- Parameters:
data (Any)
- kind: Literal['noether.core.schedules.IncreasingProgressSchedule'] = 'noether.core.schedules.IncreasingProgressSchedule'¶
The fully qualified class name of the scheduler.