1 write to final_layernorm
Microsoft.ML.GenAI.Phi (1)
Module\Phi2Model.cs (1)
43
this.
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)
99
hiddenStates = this.
final_layernorm
.forward(hiddenStates);