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