1 write to _encoderDecoderAttention
Microsoft.ML.TorchSharp (1)
NasBert\Modules\MultiHeadAttention.cs (1)
81
_encoderDecoderAttention
= encoderDecoderAttention;
2 references to _encoderDecoderAttention
Microsoft.ML.TorchSharp (2)
NasBert\Modules\MultiHeadAttention.cs (2)
184
if (_selfAttention || !
_encoderDecoderAttention
)
340
else if (
_encoderDecoderAttention
)