1 instantiation of LlamaDecoderLayer
Microsoft.ML.GenAI.LLaMA (1)
Module\LlamaModel.cs (1)
38
this.layers.Add(new
LlamaDecoderLayer
(config, i));
4 references to LlamaDecoderLayer
Microsoft.ML.GenAI.LLaMA (4)
Module\LlamaDecoderLayer.cs (1)
83
: base(nameof(
LlamaDecoderLayer
))
Module\LlamaModel.cs (3)
20
private readonly ModuleList<
LlamaDecoderLayer
> layers;
34
this.layers = new ModuleList<
LlamaDecoderLayer
>();
124
foreach (
var
layer in this.layers)