11 references to HiddenSizeChoices
Microsoft.ML.TorchSharp (11)
NasBert\Modules\EmbedTransfer.cs (7)
32
var hiddenTransfer = SearchSpace.
HiddenSizeChoices
.Where((source, index) => index != SearchSpace.
HiddenSizeChoices
.Length - 1)
33
.Select(hidden => torch.nn.Linear(hidden, SearchSpace.
HiddenSizeChoices
[SearchSpace.
HiddenSizeChoices
.Length - 1]))
42
if (hiddenSize == SearchSpace.
HiddenSizeChoices
[SearchSpace.
HiddenSizeChoices
.Length - 1]) return x;
43
var index = SearchSpace.
HiddenSizeChoices
.ToList().IndexOf(hiddenSize);
NasBert\Modules\Layers\FeedForwardLayer.cs (4)
36
SearchSpace.
HiddenSizeChoices
[SearchSpace.
HiddenSizeChoices
.Length - 1]);
38
SearchSpace.
HiddenSizeChoices
[SearchSpace.
HiddenSizeChoices
.Length - 1]);