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)
184if (_selfAttention || !_encoderDecoderAttention) 340else if (_encoderDecoderAttention)