BendtorchGpu.lf_embb: def of bendtorch-gpu@1.3.0.0 Import: import bendtorch-gpu@1.3.0.0/main.bend as BendtorchGpu Lines 1312-1315 of bendtorch-gpu@1.3.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-gpu@1.3.0.0/main.bend&start_line=1312&end_line=1315 import Base # x1 = dy, x2 = the ids; the gradient g, in place def lf_embb(+t: U32, +l: U32, +e: EEM, x1: Array, x2: Array, x3: Array, x4: Array, g: Array) -> Array: match e: case EEM{+k, +d}: eb_if(U32.is_lt(t, d), t, k, d, x1, x2, g) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=bendtorch-gpu@1.3.0.0/main.bend&name=EEM https://jend.leeeet.dev/definition.txt?path=bendtorch-gpu@1.3.0.0/main.bend&name=eb_if