ClikaRT::ops::qk_rms_norm_
function
qk_rms_norm_()
Tensor& qk_rms_norm_(
Tensor& q,
OptionalTensor k = {},
OptionalTensor v = {},
OptionalTensor w_q = {},
OptionalTensor w_k = {},
std::int64_t head_dim = 0,
std::optional<double> eps = std::nullopt
)
In-place qk_rms_norm: normalizes q (and k, when present) through their own storage (no output allocation); v is untouched. Same arguments and error conditions as qk_rms_norm(). Tensors are shared-storage handles, so the caller's operands see the writes. Returns q under the value surface, Result<void> under the Result surface; CLIKART_CHECK is the mode-stable spelling.
Declared in ClikaRT/compute/ops.h, line 3543