ee.Reducer.max

Creates a reducer that outputs the maximum value of its (first) input. If numInputs is greater than one, also outputs the corresponding values of the additional inputs.

UsageReturns
ee.Reducer.max(numInputs)Reducer
ArgumentTypeDetails
numInputsInteger, default: 1

The number of inputs.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!