1 write to _addBiasProj
Microsoft.ML.TorchSharp (1)
NasBert\Modules\MultiHeadAttention.cs (1)
87_addBiasProj = bias;
5 references to _addBiasProj
Microsoft.ML.TorchSharp (5)
NasBert\Modules\MultiHeadAttention.cs (5)
91QProjection = torch.nn.Linear(_embeddingDim, _embeddingDim, _addBiasProj); 92KProjection = torch.nn.Linear(_kDim, _embeddingDim, _addBiasProj); 93VProjection = torch.nn.Linear(_vDim, _embeddingDim, _addBiasProj); 101OutProjLinear = torch.nn.Linear(_embeddingDim, _embeddingDim, _addBiasProj); 125if (_addBiasProj)