1 write to embed_tokens
Microsoft.ML.GenAI.Mistral (1)
MistralModel.cs (1)
33
this.
embed_tokens
= nn.Embedding(config.VocabSize, config.HiddenSize, padding_idx: this._paddingIdx, dtype: config.DType);
1 reference to embed_tokens
Microsoft.ML.GenAI.Mistral (1)
MistralModel.cs (1)
76
inputsEmbeds = this.
embed_tokens
.forward(inputIds);