golem ~master (2021-09-25T16:54:00Z)
Dub
Repo
EarlyStopping.shouldStop
golem
trainer
EarlyStopping
Undocumented in source. Be warned that the author may not have intended to support it.
bool
shouldStop
(Tensor!(T, [1]) loss)
bool
shouldStop
(Tensor!(T, [1], UseGradient.no) loss)
class
EarlyStopping
(T)
@
safe
@
nogc
nothrow
bool
shouldStop
(
Tensor
!(
T
, [1],
UseGradient.no
)
loss
)
bool
shouldStop
(T loss)
Meta
Source
See Implementation
golem
trainer
EarlyStopping
constructors
this
functions
shouldStop
variables
minLoss
patience
patienceStep