IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /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. /get-started.md).

Mojo module

reductions

Row-based row-wise reductions (free-form body layer).

Pure-reduction entry points (reduce_sum / reduce_max / reduce_min / reduce_product / reduce_mean / reduce_argmax / reduce_argmin / reduce_min_and_max) built on the algorithm.rowwise scaffolder and the algorithm.reduce_op monoid library. Each authors one free-form body β€” a single reduce phase plus a per-row emit β€” and runs on both CPU and GPU.

Functions​