% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/optimizer.R
\name{stepsize_control}
\alias{stepsize_control}
\title{Unified stepsize control}
\usage{
stepsize_control(
  schedule = stepsize_schedule(method = "constant"),
  decay = stepsize_decay(method = "none")
)
}
\arguments{
\item{schedule}{schedule component. Either an object from
\code{stepsize_schedule()} or a method string accepted by
\code{stepsize_schedule()}.}

\item{decay}{decay component. Either an object from
\code{stepsize_decay()} or a method string accepted by
\code{stepsize_decay()}.}
}
\value{
a bundled stepsize-control object for \code{control_opt()}.
}
\description{
Unified stepsize control
}
\details{
Bundle an iteration schedule (\code{stepsize_schedule}) and an optional
checkpoint-based decay rule (\code{stepsize_decay}) into one object for
\code{control_opt()}.
}
