public class MapToPairFunction extends java.lang.Object implements org.apache.spark.api.java.function.Function<java.util.Map.Entry<VocabWord,org.nd4j.linalg.api.ndarray.INDArray>,Pair<VocabWord,org.nd4j.linalg.api.ndarray.INDArray>>
Constructor and Description |
---|
MapToPairFunction() |
Modifier and Type | Method and Description |
---|---|
Pair<VocabWord,org.nd4j.linalg.api.ndarray.INDArray> |
call(java.util.Map.Entry<VocabWord,org.nd4j.linalg.api.ndarray.INDArray> pair) |