1 write to embed_tokens
Microsoft.ML.GenAI.Phi (1)
Module\Phi2Model.cs (1)
41
this.
embed_tokens
= nn.Embedding(config.VocabSize, config.HiddenSize, dtype: config.Dtype);
1 reference to embed_tokens
Microsoft.ML.GenAI.Phi (1)
Module\Phi2Model.cs (1)
68
inputEmbeddings = this.
embed_tokens
.forward(inputIds);