Stopper.stop_now()

Stopper.stop_now()#

Stopper.stop_now(i, loss_history)[source]#

Whether optimization should stop now.