ray.rllib.utils.schedules.exponential_schedule.ExponentialSchedule.__init__#
- ExponentialSchedule.__init__(schedule_timesteps: int, framework: str | None = None, initial_p: float = 1.0, decay_rate: float = 0.1)[source]#
Initializes a ExponentialSchedule instance.
- Parameters:
schedule_timesteps – Number of time steps for which to linearly anneal initial_p to final_p.
framework – The framework descriptor string, e.g. “tf”, “torch”, or None.
initial_p – Initial output value.
decay_rate – The percentage of the original value after 100% of the time has been reached (see formula above). >0.0: The smaller the decay-rate, the stronger the decay. 1.0: No decay at all.