3 writes to _currentVocab
Microsoft.ML.Transforms (3)
Text\WordEmbeddingsExtractor.cs (3)
191
_currentVocab
= GetVocabularyDictionary(env);
209
_currentVocab
= GetVocabularyDictionary(env);
265
_currentVocab
= GetVocabularyDictionary(host);
13 references to _currentVocab
Microsoft.ML.Transforms (13)
Text\WordEmbeddingsExtractor.cs (13)
324
_outputType = new VectorDataViewType(NumberDataViewType.Single, 3 * _parent.
_currentVocab
.Dimension);
422
var shapeD = new long[] { _parent.
_currentVocab
.GetNumWords() + 3, _parent.
_currentVocab
.Dimension };
423
var wordVectors = _parent.
_currentVocab
.WordVectors;
427
tensorD.AddRange(Enumerable.Repeat(0.0f, _parent.
_currentVocab
.Dimension));
429
tensorD.AddRange(Enumerable.Repeat(float.MaxValue, _parent.
_currentVocab
.Dimension));
431
tensorD.AddRange(Enumerable.Repeat(float.MinValue, _parent.
_currentVocab
.Dimension));
435
var tensorF = _parent.
_currentVocab
.GetNumWords();
445
nodeY.AddAttribute("classes_strings", _parent.
_currentVocab
.GetWordLabels());
446
nodeY.AddAttribute("default_int64", _parent.
_currentVocab
.GetNumWords());
562
int dimension = _parent.
_currentVocab
.Dimension;
563
float[] wordVector = new float[_parent.
_currentVocab
.Dimension];
581
if (_parent.
_currentVocab
.GetWordVector(in srcValues[word], wordVector))