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