def gnf_grp

bendtorch@1.3.0.0 · main.bend:1920

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

1920# one (image, group) block: off is the image's first row's first cell, j the group's first channel
1921def gnf_grp(+hw: Nat, +off: U32, +j: U32, +c: U32, +cg: Nat, +nf: F32, +eps: F32, s: R4) -> R4:
1922  match s:
1923    case R4{x, g, b, y}:
1924      gnf_grp2(hw, off, j, c, cg, g, b, y, gn_mr(hw, (off + j : U32), c, cg, nf, eps, x))

Uses (7)

Used by (2)