K
- Type of key, associated with each example. Used to keep track of which score belongs to which examplepublic class ScoreExamplesWithKeyFunction<K> extends BasePairFlatMapFunctionAdaptee<java.util.Iterator<scala.Tuple2<K,org.nd4j.linalg.dataset.api.MultiDataSet>>,K,java.lang.Double>
ComputationGraph.scoreExamples(MultiDataSet, boolean)
methodScoreExamplesFunction
,
Serialized Formadapter
Constructor and Description |
---|
ScoreExamplesWithKeyFunction(org.apache.spark.broadcast.Broadcast<org.nd4j.linalg.api.ndarray.INDArray> params,
org.apache.spark.broadcast.Broadcast<java.lang.String> jsonConfig,
boolean addRegularizationTerms,
int batchSize) |
call