PolynomialSchedule.__init__(schedule_timesteps: int, final_p: float, framework: str | None, initial_p: float = 1.0, power: float = 2.0)[source]#

Initializes a PolynomialSchedule instance.

  • schedule_timesteps – Number of time steps for which to linearly anneal initial_p to final_p

  • final_p – Final output value.

  • framework – The framework descriptor string, e.g. “tf”, “torch”, or None.

  • initial_p – Initial output value.

  • power – The exponent to use (default: quadratic).