ee.Reducer.repeat
Creates a Reducer by combining the specified number of copies of the given reducer. Output names are the same as the given reducer, but each is a list of the corresponding output from each of the reducers.
Usage | Returns | Reducer.repeat(count) | Reducer |
Argument | Type | Details | this: reducer | Reducer | |
count | Integer | The number of copies of the reducer to combine. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-19 UTC.
[null,null,["Last updated 2024-09-19 UTC."],[[["Creates a new Reducer by repeating a given Reducer multiple times."],["Output names remain the same but the values are transformed into lists, reflecting outputs from each repetition of the original Reducer."],["The `count` argument determines the number of repetitions, effectively controlling the length of the output lists."],["Primarily used for combining multiple instances of a reducer into a single, unified Reducer."]]],[]]