public class ParagraphVectors.InferenceCallable extends Object implements Callable<org.nd4j.common.primitives.Pair<String,org.nd4j.linalg.api.ndarray.INDArray>>
Constructor and Description |
---|
InferenceCallable(@NonNull VocabCache<VocabWord> vocabCache,
@NonNull TokenizerFactory tokenizerFactory,
@NonNull LabelledDocument document) |
InferenceCallable(@NonNull VocabCache<VocabWord> vocabCache,
@NonNull TokenizerFactory tokenizerFactory,
@NonNull LabelledDocument document,
@NonNull AtomicLong flag) |
Modifier and Type | Method and Description |
---|---|
org.nd4j.common.primitives.Pair<String,org.nd4j.linalg.api.ndarray.INDArray> |
call() |
public InferenceCallable(@NonNull @NonNull VocabCache<VocabWord> vocabCache, @NonNull @NonNull TokenizerFactory tokenizerFactory, @NonNull @NonNull LabelledDocument document)
public InferenceCallable(@NonNull @NonNull VocabCache<VocabWord> vocabCache, @NonNull @NonNull TokenizerFactory tokenizerFactory, @NonNull @NonNull LabelledDocument document, @NonNull @NonNull AtomicLong flag)
public org.nd4j.common.primitives.Pair<String,org.nd4j.linalg.api.ndarray.INDArray> call() throws Exception
call
in interface Callable<org.nd4j.common.primitives.Pair<String,org.nd4j.linalg.api.ndarray.INDArray>>
Exception
Copyright © 2022. All rights reserved.