Package org.apache.nemo.examples.beam
Class MultinomialLogisticRegression.CombineFunctionForIterable
- java.lang.Object
-
- org.apache.nemo.examples.beam.MultinomialLogisticRegression.CombineFunctionForIterable
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.beam.sdk.transforms.ProcessFunction<java.lang.Iterable<java.util.List<java.lang.Double>>,java.util.List<java.lang.Double>>
,org.apache.beam.sdk.transforms.SerializableFunction<java.lang.Iterable<java.util.List<java.lang.Double>>,java.util.List<java.lang.Double>>
- Enclosing class:
- MultinomialLogisticRegression
public static final class MultinomialLogisticRegression.CombineFunctionForIterable extends java.lang.Object implements org.apache.beam.sdk.transforms.SerializableFunction<java.lang.Iterable<java.util.List<java.lang.Double>>,java.util.List<java.lang.Double>>
Combine Function for Iterable of gradients.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CombineFunctionForIterable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Double>
apply(java.lang.Iterable<java.util.List<java.lang.Double>> gradients)
-
-
-
Method Detail
-
apply
public java.util.List<java.lang.Double> apply(java.lang.Iterable<java.util.List<java.lang.Double>> gradients)
- Specified by:
apply
in interfaceorg.apache.beam.sdk.transforms.ProcessFunction<java.lang.Iterable<java.util.List<java.lang.Double>>,java.util.List<java.lang.Double>>
- Specified by:
apply
in interfaceorg.apache.beam.sdk.transforms.SerializableFunction<java.lang.Iterable<java.util.List<java.lang.Double>>,java.util.List<java.lang.Double>>
-
-