IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo function

naive_epilogue_kernel

def naive_epilogue_kernel[c_type: DType, CLayout: TensorLayout, *, elementwise_lambda_fn: def[dtype: DType, width: SIMDLength, *, alignment: Int = Int(1)](IndexList[Int(2)], SIMD[dtype, width]) capturing thin -> None](c: TileTensor[c_type, CLayout, MutAnyOrigin])

Applies an elementwise epilogue function to each SIMD-vectorized element of the output tensor c.