ee.Reducer.repeat
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Creates a Reducer by combining the specified number of copies of the given reducer. שמות הפלט זהים לשם של הפונקציה לצמצום, אבל כל אחד מהם הוא רשימה של הפלט המתאים מכל אחת מהפונקציות לצמצום.
שימוש | החזרות |
---|
Reducer.repeat(count) | הפחתה |
ארגומנט | סוג | פרטים |
---|
זה: reducer | הפחתה | |
count | מספר שלם | מספר העותקים של פונקציית ה-Reducer לשילוב. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eCreates a new Reducer by repeating a given Reducer multiple times.\u003c/p\u003e\n"],["\u003cp\u003eOutput names remain the same but the values are transformed into lists, reflecting outputs from each repetition of the original Reducer.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecount\u003c/code\u003e argument determines the number of repetitions, effectively controlling the length of the output lists.\u003c/p\u003e\n"],["\u003cp\u003ePrimarily used for combining multiple instances of a reducer into a single, unified Reducer.\u003c/p\u003e\n"]]],["Combines multiple copies of a specified reducer into a single Reducer. The `Reducer.repeat(count)` method takes an integer `count` representing the number of reducer copies to merge. It returns a new Reducer. The output names from the combined reducer are identical to the original, but each output is now a list containing the respective output from each of the individual reducers.\n"],null,["# ee.Reducer.repeat\n\nCreates 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.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------|---------|\n| Reducer.repeat`(count)` | Reducer |\n\n| Argument | Type | Details |\n|-----------------|---------|-------------------------------------------------|\n| this: `reducer` | Reducer | |\n| `count` | Integer | The number of copies of the reducer to combine. |"]]