def ms_put

bendtorch-gpu@1.3.0.0 · main.bend:1187

import bendtorch-gpu@1.3.0.0/main.bend as BendtorchGpu
import Base
import bend-ml-tensor-gpu@0.1.5.0/main.bend as TG

1187def ms_put(+t: U32, ps: Array<F32>, r: MS) -> TG.O2:
1188  match r:
1189    case MS{y, tt, +s}: TG.O2{y, Array.set(F32, ps, t, s)}

Uses (6)

Used by (1)