1 write to VBias
Microsoft.ML.TorchSharp (1)
NasBert\Modules\MultiHeadAttention.cs (1)
98VBias = torch.zeros(1, 1, _embeddingDim).AsParameter();
3 references to VBias
Microsoft.ML.TorchSharp (3)
NasBert\Modules\MultiHeadAttention.cs (3)
136ModelUtils.InitXavierUniform(VBias); 205var vRepeat = VBias.repeat(1, batchSize, 1); 393VBias?.Dispose();