def OptCfg.b1
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
470def OptCfg.b1(+cfg: OptCfg) -> F32:
471 match cfg:
472 case CAdam{lr, b1, b2, eps, wd, c1, c2}:
473 b1
474 case CAdamW{lr, b1, b2, eps, wd, c1, c2}:
475 b1
476 case CAdamWBF16{lr, b1, b2, eps, wd, c1, c2, v16}:
477 b1
478 case _:
479 0.0
Uses (2)
Used by (0)
No other definition uses this definition.