ee.Reducer.splitWeights
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Returns a Reducer with the same outputs as the given Reducer, but with each weighted input replaced by two unweighted inputs.
การใช้งาน | การคืนสินค้า |
---|
Reducer.splitWeights() | ตัวลดตำแหน่ง |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ reducer | ตัวลดตำแหน่ง | |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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 | |"]]