1 write to _qkvSameDim
Microsoft.ML.TorchSharp (1)
NasBert\Modules\MultiHeadAttention.cs (1)
69_qkvSameDim = (_kDim == _embeddingDim) && (_vDim == _embeddingDim);
2 references to _qkvSameDim
Microsoft.ML.TorchSharp (2)
NasBert\Modules\MultiHeadAttention.cs (2)
82if (_selfAttention && !_qkvSameDim) 110if (_qkvSameDim)