1 write to HiddenSizePerBlock
Microsoft.ML.TorchSharp (1)
NasBert\Models\NasBertEncoder.cs (1)
120
HiddenSizePerBlock
= CheckBlockHiddenSize(blockPerLayer);
6 references to HiddenSizePerBlock
Microsoft.ML.TorchSharp (6)
NasBert\Models\NasBertEncoder.cs (6)
122
EmbedTransfer = new EmbedTransferDiscrete(embedSize,
HiddenSizePerBlock
[0]);
123
var hiddenSizePerBlockExtend =
HiddenSizePerBlock
.Append(
HiddenSizePerBlock
[^1]).ToList();
124
var hiddenTransferList = Enumerable.Range(0,
HiddenSizePerBlock
.Count)
234
x = HiddenTransferList[blockIndex].forward(x,
HiddenSizePerBlock
[blockIndex], true);
241
x = HiddenTransferList[blockIndex].forward(x,
HiddenSizePerBlock
[blockIndex], false);