at#

eclypse.policies.schedule.at(steps, policy)[source]#

Run a policy at one or more explicit steps.

Parameters:
  • steps (int | list[int] | tuple[int, ...]) – Step number or step numbers that trigger the policy.

  • policy (UpdatePolicy) – Wrapped policy to call when the step matches.

Returns:

Stateful schedule policy.

Return type:

UpdatePolicy