aesara.tensor.ptp#
- aesara.tensor.ptp(a, axis=None)[source]#
Range of values (maximum - minimum) along an axis.
The name of the function comes from the acronym for peak to peak.
- Parameters:
a – Input tensor.
axis – Axis along which to find the peaks. By default, flatten the array.
- Returns:
A new array holding the result.
- Return type:
array