2 references to GetEmbedding
Microsoft.ML.TorchSharp (2)
NasBert\Modules\Embedding\SinusoidalPositionalEmbedding.cs (2)
23
Weight =
GetEmbedding
(numEmbeddings, embeddingDim);
80
Weight =
GetEmbedding
(maxPosition, EmbeddingDim);