def rms_inv
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
1576# 1 / rms of a row whose sum of squares is s
1577def rms_inv(+s: F32, +df: F32, +eps: F32) -> F32:
1578 (1.0 / F32.sqrt(((s / df : F32) + eps : F32)) : F32)
import bendtorch@1.3.0.0/main.bend as Bendtorchimport Base
1576# 1 / rms of a row whose sum of squares is s
1577def rms_inv(+s: F32, +df: F32, +eps: F32) -> F32:
1578 (1.0 / F32.sqrt(((s / df : F32) + eps : F32)) : F32)