Min reduction operation Computes the minimum of tensor elements along specified axes
Input tensor storage type
Axes to reduce along (undefined means reduce all)
Whether to keep reduced dimensions as size 1
Output data type (defaults to same as input)
// Min along last axis, keep dimensiontype Input = TensorStorage<Int32, [2, 3, 4], [12, 4, 1], DefaultLayoutFlags>;type Result = MinOp<Input, [-1], true>; // Shape: [2, 3, 1] Copy
// Min along last axis, keep dimensiontype Input = TensorStorage<Int32, [2, 3, 4], [12, 4, 1], DefaultLayoutFlags>;type Result = MinOp<Input, [-1], true>; // Shape: [2, 3, 1]
// Global min (all elements)type GlobalMin = MinOp<Input, undefined, false>; // Shape: [] Copy
// Global min (all elements)type GlobalMin = MinOp<Input, undefined, false>; // Shape: []
Min reduction operation Computes the minimum of tensor elements along specified axes