2 writes to _host
Microsoft.ML.Transforms (2)
Text\WordEmbeddingsExtractor.cs (2)
815
_host
= env.Register(nameof(WordEmbeddingEstimator));
824
_host
= env.Register(nameof(WordEmbeddingEstimator));
5 references to _host
Microsoft.ML.Transforms (5)
Text\WordEmbeddingsExtractor.cs (5)
932
_host
.CheckValue(inputSchema, nameof(inputSchema));
937
throw
_host
.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
939
throw
_host
.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName, new VectorDataViewType(TextDataViewType.Instance).ToString(), col.GetTypeString());
955
transformer = new WordEmbeddingTransformer(
_host
, _customLookupTable, _columns);
957
transformer = new WordEmbeddingTransformer(
_host
, _modelKind.Value, _columns);