1 write to _selfAttention
Microsoft.ML.TorchSharp (1)
NasBert\Modules\MultiHeadAttention.cs (1)
80
_selfAttention
= selfAttention;
3 references to _selfAttention
Microsoft.ML.TorchSharp (3)
NasBert\Modules\MultiHeadAttention.cs (3)
82
if (
_selfAttention
&& !_qkvSameDim)
184
if (
_selfAttention
|| !_encoderDecoderAttention)
334
if (
_selfAttention
)