Skip to contents

Unified stepsize control

Usage

stepsize_control(
  schedule = stepsize_schedule(method = "constant"),
  decay = stepsize_decay(method = "none")
)

Arguments

schedule

schedule component. Either an object from stepsize_schedule() or a method string accepted by stepsize_schedule().

decay

decay component. Either an object from stepsize_decay() or a method string accepted by stepsize_decay().

Value

a bundled stepsize-control object for control_opt().

Details

Bundle an iteration schedule (stepsize_schedule) and an optional checkpoint-based decay rule (stepsize_decay) into one object for control_opt().