Bases: BaseScheduler
Scheduler that maintains a constant value.
Source code in torchebm/core/base_scheduler.py
| class ConstantScheduler(BaseScheduler):
"""Scheduler that maintains a constant value."""
def _compute_value(self) -> float:
"""Return constant value."""
return self.current_value
|
_compute_value
_compute_value() -> float
Return constant value.
Source code in torchebm/core/base_scheduler.py
| def _compute_value(self) -> float:
"""Return constant value."""
return self.current_value
|