1 write to embeddings
Microsoft.ML.TorchSharp (1)
Roberta\Models\RobertaEncoder.cs (1)
27
embeddings
= new Embeddings(numEmbeddings, embeddingSize, maxPositions, maxTokenTypes,
2 references to embeddings
Microsoft.ML.TorchSharp (2)
Roberta\Models\RobertaEncoder.cs (2)
38
var x =
embeddings
.forward(tokens, positions, tokenTypes);
72
embeddings
.Dispose();