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
rowwise_reductions
Row-based row-wise reductions (free-form body layer).
Pure-reduction entry points (reduce_product / reduce_argmax /
reduce_argmin / reduce_min_and_max) built on the algorithm.rowwise
scaffolder and the builtin_kernels.monoids 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
-
reduce_argmax: -
reduce_argmin: Finds the argmin alongreduce_dimvia the Row layer: oneArgMinphase (native dtype, lower index wins ties) plus a per-rowemitof the int64 index. -
reduce_min_and_max: Computes min and max in one axis walk (MinMaxmonoid), two outputs. -
reduce_product: