Package com.yahoo.language.process
Interface Embedder.Runtime
- Enclosing interface:
- Embedder
public static interface Embedder.Runtime
Runtime that is injectable through
Embedder
constructor.-
Method Summary
Modifier and TypeMethodDescriptionvoid
sampleEmbeddingLatency
(double millis, Embedder.Context ctx) Sample latency metric for embeddingvoid
sampleSequenceLength
(long length, Embedder.Context ctx) Sample sequence length metric for embeddingstatic Embedder.Runtime
-
Method Details
-
sampleEmbeddingLatency
Sample latency metric for embedding -
sampleSequenceLength
Sample sequence length metric for embedding -
testInstance
-