[1c0e03]: / man / early_stopping_time_cb.Rd

Download this file

23 lines (22 with data), 652 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/callbacks.R
\name{early_stopping_time_cb}
\alias{early_stopping_time_cb}
\title{Stop training callback}
\usage{
early_stopping_time_cb(stop_time = NULL)
}
\arguments{
\item{stop_time}{Time in seconds after which to stop training.}
}
\value{
A Keras callback that stops training after specified time.
}
\description{
Stop training after specified time.
}
\examples{
\dontshow{if (reticulate::py_module_available("tensorflow")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
est <- early_stopping_time_cb(stop_time = 60)
\dontshow{\}) # examplesIf}
}