def lf_embf
import bendtorch-gpu@1.3.0.0/main.bend as BendtorchGpuimport Base
1280# x1 = the table, x2 = the ids; o (made on the device, zeros) gets the rows
1281def lf_embf(+t: U32, +l: U32, +e: EEM, x1: Array<F32>, x2: Array<F32>, x3: Array<F32>, x4: Array<F32>, o: Array<F32>) -> Array<F32>:
1282 match e:
1283 case EEM{+k, +d}: ef_if(U32.is_lt(t, d), t, k, d, x1, x2, o)