def OptCfg.b2
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
481def OptCfg.b2(+cfg: OptCfg) -> F32:
482 match cfg:
483 case CAdam{lr, b1, b2, eps, wd, c1, c2}:
484 b2
485 case CAdamW{lr, b1, b2, eps, wd, c1, c2}:
486 b2
487 case CAdamWBF16{lr, b1, b2, eps, wd, c1, c2, v16}:
488 b2
489 case _:
490 0.0
Uses (2)
Used by (0)
No other definition uses this definition.