Last updated: 2026-06-12
Inference Runtime
Vadd
T-CPU element-wise vector addition implementation.
Computes: output[i] = a[i] + b[i]
2 exports shown
struct
Params
pub const Params = struct Inputs and outputs for one element-wise vector addition.
function
run
pub fn run(params: Params) !void Compute `output[i] = a[i] + b[i]` for the first `a.len` elements.
Trailing elements of `b` and `output` are ignored, so callers may pass over-sized buffers. is shorter than `a`, otherwise void.