ee.Reducer.splitWeights
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחזירה Reducer עם אותן תוצאות כמו Reducer נתון, אבל כל קלט משוקלל מוחלף בשני קלטים לא משוקללים.
שימוש | החזרות |
---|
Reducer.splitWeights() | הפחתה |
ארגומנט | סוג | פרטים |
---|
זה: reducer | הפחתה | |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003esplitWeights()\u003c/code\u003e transforms a weighted Reducer into an equivalent unweighted Reducer by replacing each weighted input with two unweighted inputs.\u003c/p\u003e\n"],["\u003cp\u003eThe method maintains the same output behavior as the original Reducer while modifying the input representation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003esplitWeights()\u003c/code\u003e operates on an existing Reducer instance and returns a new Reducer with the unweighted input structure.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.splitWeights\n\nReturns a Reducer with the same outputs as the given Reducer, but with each weighted input replaced by two unweighted inputs.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------|---------|\n| Reducer.splitWeights`()` | Reducer |\n\n| Argument | Type | Details |\n|-----------------|---------|---------|\n| this: `reducer` | Reducer | |"]]