ConstantStepSize

phasic.svgd.ConstantStepSize(step_size=0.01)

Constant step size (default behavior).

Parameters

step_size : float = 0.01

Fixed step size for all iterations

Examples

>>> schedule = ConstantStepSize(0.01)
>>> schedule(0)  # iteration 0
0.01
>>> schedule(100)  # iteration 100
0.01