def gnb_images

bendtorch@1.3.0.0 · main.bend:1983

import bendtorch@1.3.0.0/main.bend as Bendtorch
import Base

1983def gnb_images(left: Nat, +off: U32, +ng: Nat, +hw: Nat, +c: U32, +cg: Nat, +nf: F32, +eps: F32, s: R4B) -> R4B:
1984  match left:
1985    case 0n:
1986      gnb_groups(Nat.sub(ng, 1n), off, 0, hw, c, cg, nf, eps, s)
1987    case 1n+q:
1988      gnb_images(q, (off + (U32.from_nat(hw) * c : U32) : U32), ng, hw, c, cg, nf, eps, gnb_groups(Nat.sub(ng, 1n), off, 0, hw, c, cg, nf, eps, s))

Uses (9)

Used by (1)