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

def naive_epilogue[c_type: DType, *, 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, Storage=c.Storage, linear_idx_type=c.linear_idx_type], ctx: DeviceContext)

Launches the naive_epilogue_kernel to apply an elementwise epilogue function across the output tensor c.

Was this page helpful?