once_at#

eclypse.policies.schedule.once_at(step_at, policy)[source]#

Run a policy only once at the specified step.

Parameters:
  • step_at (int) – Step at which the policy should run.

  • policy (UpdatePolicy) – The wrapped policy.

Returns:

A scheduled wrapper around policy.

Return type:

UpdatePolicy