Back to NDArray Operations
max
Maximum element. With dim, reduces along the given axis.
Syntax
max(a: NDArray) → r
Backends
TypeScriptnumwa
Description
Maximum element. With dim, reduces along the given axis.
Parameters
| Name | Description |
|---|---|
| a | Input array |
Returns
Scalar maximum, or NDArray when reducing along an axis