1 write to encoder
Microsoft.ML.TorchSharp (1)
Roberta\Models\RobertaEncoder.cs (1)
29
encoder
= new Encoder(numLayers, numAttentionHeads, embeddingSize, hiddenSize, outputSize, ffnHiddenSize,
2 references to encoder
Microsoft.ML.TorchSharp (2)
Roberta\Models\RobertaEncoder.cs (2)
39
var sequenceOutput =
encoder
.forward(x, attentionMask);
73
encoder
.Dispose();