1 instantiation of Attention
Microsoft.ML.TorchSharp (1)
Roberta\Modules\Layer.cs (1)
24
attention = new
Attention
(numAttentionHeads, hiddenSize, layerNormEps, attentionDropoutRate, outputDropoutRate);
2 references to Attention
Microsoft.ML.TorchSharp (2)
Roberta\Modules\Attention.cs (1)
20
: base(nameof(
Attention
))
Roberta\Modules\Layer.cs (1)
15
public readonly
Attention
attention;