ITokenEmbedding<T>
Interfaces · AiDotNet.Interfaces
Exposes token embedding lookup for models that maintain a token embedding table.
Known implementations: EmbeddingLayer<T>
Methods
| Method | Summary |
|---|---|
Matrix<T> GetTokenEmbeddings(IReadOnlyList<int> tokenIds) |
Retrieves embeddings for the provided token IDs. |