Introduction

Tutorials

Interfaces


API Reference

public Stepparametric type

Step{T<:Number, S<:Integer} <: DecaySchedule
Step(λ, γ, step_size::Integer)
Step(;λ, γ, step_sizes)

A step schedule decays exponentially by γ every step in step_sizes. The output conforms to

λ * γ^{i - 1}

where sum(step_sizes[1:(i - 1)]) < t <= sum(step_sizes[1:i])

Arguments:

  • λ::Number: the base value
  • γ::Number: the decay rate
  • step_sizes::Union{<:Integer, <:Vector}: the step sizes