stepsize_control: Unified stepsize control

View source: R/optimizer.R

stepsize_controlR Documentation

Unified stepsize control

Description

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().

Details

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

Value

a bundled stepsize-control object for control_opt().


ngme2 documentation built on May 20, 2026, 9:10 a.m.