public class FirstIterationFunction extends org.datavec.spark.transform.BaseFlatMapFunctionAdaptee<java.util.Iterator<scala.Tuple2<java.util.List<VocabWord>,java.lang.Long>>,java.util.Map.Entry<VocabWord,org.nd4j.linalg.api.ndarray.INDArray>>
Constructor and Description |
---|
FirstIterationFunction(org.apache.spark.broadcast.Broadcast<java.util.Map<java.lang.String,java.lang.Object>> word2vecVarMapBroadcast,
org.apache.spark.broadcast.Broadcast<double[]> expTableBroadcast,
org.apache.spark.broadcast.Broadcast<VocabCache<VocabWord>> vocabCacheBroadcast) |
public FirstIterationFunction(org.apache.spark.broadcast.Broadcast<java.util.Map<java.lang.String,java.lang.Object>> word2vecVarMapBroadcast, org.apache.spark.broadcast.Broadcast<double[]> expTableBroadcast, org.apache.spark.broadcast.Broadcast<VocabCache<VocabWord>> vocabCacheBroadcast)