For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo function
rms_norm_cpu
def rms_norm_cpu[dtype: DType, InputFnType: def[width: Int](Int, Int) -> SIMD[dtype, width], OutputFnType: def[width: SIMDLength, alignment: Int](Int, Int, SIMD[dtype, width]) -> None, //, epsilon: Float32, weight_offset: Float32, multiply_before_cast: Bool](input_fn: InputFnType, output_fn: OutputFnType, gamma: TileTensor[dtype, Engine=gamma.Engine, address_space=gamma.address_space, linear_idx_type=gamma.linear_idx_type], out_shape: Coord[*out_shape.element_types])
def rms_norm_cpu[dtype: DType, InputFnType: def[width: Int](Coord[**?]) -> SIMD[dtype, width], OutputFnType: def[width: SIMDLength, alignment: Int](Coord[**?], SIMD[dtype, width]) -> None, //, epsilon: Float32, weight_offset: Float32, multiply_before_cast: Bool](input_fn: InputFnType, output_fn: OutputFnType, shape: Coord[*shape.element_types], gamma: TileTensor[dtype, Engine=gamma.Engine, address_space=gamma.address_space, linear_idx_type=gamma.linear_idx_type], ctx: Optional[DeviceContext[CompilationTarget()]] = None)