1 write to HiddenTransfer
Microsoft.ML.TorchSharp (1)
NasBert\Modules\EmbedTransfer.cs (1)
76
HiddenTransfer
= torch.nn.Linear(embedSize, hiddenSize);
5 references to HiddenTransfer
Microsoft.ML.TorchSharp (5)
NasBert\Modules\EmbedTransfer.cs (5)
78
ModelUtils.InitXavierUniform(
HiddenTransfer
.weight);
79
ModelUtils.InitZeros(
HiddenTransfer
.bias);
88
return
HiddenTransfer
== null
90
:
HiddenTransfer
.forward(x);
99
HiddenTransfer
?.Dispose();