1 write to position_embeddings
Microsoft.ML.TorchSharp (1)
Roberta\Modules\Embeddings.cs (1)
26position_embeddings = torch.nn.Embedding(maxPositions, embeddingSize);
2 references to position_embeddings
Microsoft.ML.TorchSharp (2)
Roberta\Modules\Embeddings.cs (2)
38var positionEmbedding = position_embeddings.forward(positions); 53position_embeddings.Dispose();