Bendtorch.OptCfg.b1: def of bendtorch@1.3.0.0 Import: import bendtorch@1.3.0.0/main.bend as Bendtorch Lines 470-479 of bendtorch@1.3.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bendtorch@1.3.0.0/main.bend&start_line=470&end_line=479 import Base def OptCfg.b1(+cfg: OptCfg) -> F32: match cfg: case CAdam{lr, b1, b2, eps, wd, c1, c2}: b1 case CAdamW{lr, b1, b2, eps, wd, c1, c2}: b1 case CAdamWBF16{lr, b1, b2, eps, wd, c1, c2, v16}: b1 case _: 0.0 Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=bendtorch@1.3.0.0/main.bend&name=OptCfg