2 instantiations of Model
Microsoft.ML.Transforms (2)
Text\WordEmbeddingsExtractor.cs (2)
698
model = new
Model
(dimension);
710
model = new
Model
(dimension);
8 references to Model
Microsoft.ML.Transforms (8)
Text\WordEmbeddingsExtractor.cs (8)
94
private readonly
Model
_currentVocab;
95
private static readonly Dictionary<string, WeakReference<
Model
>> _vocab = new Dictionary<string, WeakReference<
Model
>>();
650
private
Model
GetVocabularyDictionary(IHostEnvironment hostEnvironment)
658
if (_vocab[_modelFileNameWithPath].TryGetTarget(out
Model
model))
669
if (_vocab[_modelFileNameWithPath].TryGetTarget(out
Model
modelObject))
693
Model
model = null;
720
_vocab[_modelFileNameWithPath] = new WeakReference<
Model
>(model, false);