def cfg_stop
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
534def cfg_stop(ok: Bool) -> IO(Unit):
535 match ok:
536 case True{}:
537 IO.pure(Unit, Unit{})
538 case False{}:
539 IO.die(Unit, 1, "CAdam/CAdamW: c1, c2 do not match b1, b2 (c1 = 1 - b1, c2 = 1 - b2, e.g. 0.9, 0.999 with 0.1, 0.001)")