modeci_mdf.functions.onnx.reducemax

modeci_mdf.functions.onnx.reducemax(*args, **kwargs)

Computes the max of the input tensor’s elements along the provided axes. The resulting tensor has the same rank as the input if keepdims equals 1. If keepdims equals 0, then the resulting tensor has the reduced dimension pruned. Input tensors of rank zero are valid. Reduction over an empty set of values yields minus infinity (if supported by the datatype) or the minimum value of the data type otherwise.

The above behavior is similar to numpy, with the exception that numpy defaults keepdims to False instead of True.