ClikaRT::ops::qk_layer_norm_
function
qk_layer_norm_()
Tensor& qk_layer_norm_(
Tensor& q,
OptionalTensor k = {},
OptionalTensor v = {},
OptionalTensor w_q = {},
OptionalTensor b_q = {},
OptionalTensor w_k = {},
OptionalTensor b_k = {},
std::int64_t head_dim = 0,
std::optional<double> eps = std::nullopt
)
In-place qk_layer_norm: normalizes q (and k, when present) through their own storage (no output allocation); v is untouched. Same arguments and error conditions as qk_layer_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 3572