A step of the mistr_native implementation. Called by mistr_mistral_block.
See the file header for the source the module follows.
Examples
mistr_rms_norm(c(3, 4)) # divides by sqrt(mean(x^2)) = sqrt(12.5)
#> [1] 0.8485281 1.1313708
A step of the mistr_native implementation. Called by mistr_mistral_block.
See the file header for the source the module follows.
mistr_rms_norm(c(3, 4)) # divides by sqrt(mean(x^2)) = sqrt(12.5)
#> [1] 0.8485281 1.1313708