1 write to final_layernorm
Microsoft.ML.GenAI.Phi (1)
Module\Phi2Model.cs (1)
43this.final_layernorm = nn.LayerNorm(config.HiddenSize, eps: config.LayerNormEps, dtype: config.Dtype);
1 reference to final_layernorm
Microsoft.ML.GenAI.Phi (1)
Module\Phi2Model.cs (1)
99hiddenStates = this.final_layernorm.forward(hiddenStates);