public class ParagraphVectors.InferenceCallable extends Object implements Callable<org.nd4j.linalg.primitives.Pair<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,
AtomicLong flag) |
| Modifier and Type | Method and Description |
|---|---|
org.nd4j.linalg.primitives.Pair<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
AtomicLong flag)
Copyright © 2018. All rights reserved.