1 write to layers
Microsoft.ML.GenAI.Phi (1)
Module\Phi2Model.cs (1)
44
this.
layers
= new ModuleList<Phi2DecoderLayer>(Enumerable.Range(0, config.NumHiddenLayers).Select(i => new Phi2DecoderLayer(config)).ToArray());
2 references to layers
Microsoft.ML.GenAI.Phi (2)
Module\Phi2Model.cs (2)
88
for (int i = 0; i < this.
layers
.Count; i++)
90
(hiddenStates, _, _) = this.
layers
[i].forward(