1 write to Encoder
Microsoft.ML.TorchSharp (1)
Roberta\Models\RobertaModel.cs (1)
48
Encoder
= new RobertaEncoder(
3 references to Encoder
Microsoft.ML.TorchSharp (3)
Roberta\Models\RobertaModel.cs (3)
36
public override TransformerEncoder GetEncoder() =>
Encoder
;
94
var encodedVector =
Encoder
.call(srcTokens, positions, segments, attentions);
141
Encoder
.Dispose();