1 instantiation of Layer
Microsoft.ML.TorchSharp (1)
Roberta\Modules\Encoder.cs (1)
28
.Select(_ => new
Layer
(numAttentionHeads, hiddenSize, ffnHiddenSize,
4 references to Layer
Microsoft.ML.TorchSharp (4)
Roberta\Modules\Encoder.cs (3)
18
public readonly ModuleList<
Layer
> layer;
27
layer = new ModuleList<
Layer
>(Enumerable.Range(0, numLayers)
38
foreach (
var
lyr in layer)
Roberta\Modules\Layer.cs (1)
22
: base(nameof(
Layer
))