def gnb_groups
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
1976def gnb_groups(left: Nat, +off: U32, +j: U32, +hw: Nat, +c: U32, +cg: Nat, +nf: F32, +eps: F32, s: R4B) -> R4B:
1977 match left:
1978 case 0n:
1979 gnb_grp(hw, off, j, c, cg, nf, eps, s)
1980 case 1n+q:
1981 gnb_groups(q, off, (j + U32.from_nat(cg) : U32), hw, c, cg, nf, eps, gnb_grp(hw, off, j, c, cg, nf, eps, s))