BendMlTensorGpu.fg_if: def of bend-ml-tensor-gpu@0.1.5.1 Import: import bend-ml-tensor-gpu@0.1.5.1/main.bend as BendMlTensorGpu Lines 710-715 of bend-ml-tensor-gpu@0.1.5.1/main.bend: https://jend.leeeet.dev/read.txt?path=bend-ml-tensor-gpu@0.1.5.1/main.bend&start_line=710&end_line=715 import Base # writes cell i when it is below n (the cell before the first of an odd i0, which wraps to 2^32 - 1, and the cell after # the last are not written) def fg_if(ok: Bool, +i: U32, +x: F32, o: Array) -> Array: match ok: case True{}: Array.set(F32, o, i, x) case False{}: o Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.set https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32