1 instantiation of Phi2DecoderLayer
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());
3 references to Phi2DecoderLayer
Microsoft.ML.GenAI.Phi (3)
Module\Phi2DecoderLayer.cs (1)
33
: base(nameof(
Phi2DecoderLayer
))
Module\Phi2Model.cs (2)
34
private readonly ModuleList<
Phi2DecoderLayer
> layers;
44
this.layers = new ModuleList<
Phi2DecoderLayer
>(Enumerable.Range(0, config.NumHiddenLayers).Select(i => new Phi2DecoderLayer(config)).ToArray());