def q8_of

bendtorch@1.3.0.0 · dtype.bend:316

import bendtorch@1.3.0.0/dtype.bend as Dtype
import Base

316def q8_of(+w: F32, +s: F32) -> F32:
317  pick_f(F32.is_eq(s, 0.0), 0.0, F32.clamp(rne_f((w / s : F32)), F32.neg(127.0), 127.0))

Uses (7)

Used by (1)