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