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 function
reduce_max_shape
def reduce_max_shape[axis: Int](input: T) -> IndexList[T.rank]
Computes the output shape for the mo.reduce.max graph op.
Parameters:
- axis (
Int): Dimension along which to take the maximum ofinput.
Args:
- input (
T): Input tensor reduced alongaxisby maximum.
Returns:
IndexList[T.rank]: The output shape after reducing input along axis by maximum.