ee.Reducer.splitWeights
Returns a Reducer with the same outputs as the given Reducer, but with each weighted input replaced by two unweighted inputs.
Usage | Returns |
---|
Reducer.splitWeights() | Reducer |
Argument | Type | Details |
---|
this: reducer | Reducer | |
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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["`splitWeights()` transforms a weighted Reducer into an equivalent unweighted Reducer by replacing each weighted input with two unweighted inputs."],["The method maintains the same output behavior as the original Reducer while modifying the input representation."],["`splitWeights()` operates on an existing Reducer instance and returns a new Reducer with the unweighted input structure."]]],[]]