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)
18public readonly ModuleList<Layer> layer; 27layer = new ModuleList<Layer>(Enumerable.Range(0, numLayers) 38foreach (var lyr in layer)
Roberta\Modules\Layer.cs (1)
22: base(nameof(Layer))