public class ParagraphVectors.InferenceCallable extends java.lang.Object implements java.util.concurrent.Callable<Pair<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray>>
Constructor and Description |
---|
InferenceCallable(VocabCache<VocabWord> vocabCache,
TokenizerFactory tokenizerFactory,
LabelledDocument document) |
InferenceCallable(VocabCache<VocabWord> vocabCache,
TokenizerFactory tokenizerFactory,
LabelledDocument document,
java.util.concurrent.atomic.AtomicLong flag) |
Modifier and Type | Method and Description |
---|---|
Pair<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray> |
call() |
public InferenceCallable(@NonNull VocabCache<VocabWord> vocabCache, @NonNull TokenizerFactory tokenizerFactory, @NonNull LabelledDocument document)
public InferenceCallable(@NonNull VocabCache<VocabWord> vocabCache, @NonNull TokenizerFactory tokenizerFactory, @NonNull LabelledDocument document, @NonNull java.util.concurrent.atomic.AtomicLong flag)