EarlyStopping.shouldStop

Undocumented in source. Be warned that the author may not have intended to support it.
  1. bool shouldStop(Tensor!(T, [1]) loss)
    class EarlyStopping(T)
    @safe @nogc nothrow
    bool
    shouldStop
    (
    Tensor!(T, [1]) loss
    )
  2. bool shouldStop(Tensor!(T, [1], UseGradient.no) loss)
  3. bool shouldStop(T loss)

Meta