Maximum¶
This function allows you to compute the maximum of vectors, matrices, and tensors.
It provides functionality to compute axiswise, and elementwise minimums as well.
- omtools.std.max.max(*exprs, axis=None, rho=20.0)¶
This function can compute an elementwise or axiswise maximum of a single or multiple inputs.
- Parameters
- exprs: Variable(s)
The Variable(s) over which to take the maximum
- axis: int
The axis along which the maximum will be taken over
- rho: float
This is a smoothing parameter, which dictates how smooth or sharp the maximum is
Examples for all the possible use cases are provided below.