Class FixedThresholdAlgorithm.FixedAlgorithmThresholdReducer
- java.lang.Object
-
- org.deeplearning4j.optimize.solvers.accumulation.encoding.threshold.FixedThresholdAlgorithm.FixedAlgorithmThresholdReducer
-
- All Implemented Interfaces:
Serializable
,ThresholdAlgorithmReducer
- Enclosing class:
- FixedThresholdAlgorithm
public static class FixedThresholdAlgorithm.FixedAlgorithmThresholdReducer extends Object implements ThresholdAlgorithmReducer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FixedAlgorithmThresholdReducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ThresholdAlgorithm instance)
Add a ThresholdAlgorithm instance to the reducerThresholdAlgorithm
getFinalResult()
ThresholdAlgorithmReducer
merge(ThresholdAlgorithmReducer other)
Combine two reducers and return the result
-
-
-
Method Detail
-
add
public void add(ThresholdAlgorithm instance)
Description copied from interface:ThresholdAlgorithmReducer
Add a ThresholdAlgorithm instance to the reducer- Specified by:
add
in interfaceThresholdAlgorithmReducer
- Parameters:
instance
- Instance to add. May be null.
-
merge
public ThresholdAlgorithmReducer merge(ThresholdAlgorithmReducer other)
Description copied from interface:ThresholdAlgorithmReducer
Combine two reducers and return the result- Specified by:
merge
in interfaceThresholdAlgorithmReducer
- Parameters:
other
- Other reducer to combine with this one- Returns:
- Combined reducer
-
getFinalResult
public ThresholdAlgorithm getFinalResult()
- Specified by:
getFinalResult
in interfaceThresholdAlgorithmReducer
- Returns:
- The final threshold reducer after combining all instances
-
-