1 write to ItemType
Microsoft.ML.Data (1)
Transforms\ValueToKeyMappingTransformerImpl.cs (1)
39
ItemType
= type;
13 references to ItemType
Microsoft.ML.Data (13)
Transforms\ValueToKeyMappingTransformer.cs (2)
480
if (!autoConvert && !typeSrc.Equals(bldr.
ItemType
))
481
throw ch.ExceptUserArg(nameof(keyData), "Input data's column must be of type '{0}' but was '{1}'", bldr.
ItemType
, typeSrc);
Transforms\ValueToKeyMappingTransformerImpl.cs (11)
184
return new TermMap.HashArrayImpl<T>(
ItemType
, _values);
210
var tryParse = Data.Conversion.Conversions.DefaultInstance.GetTryParseConversion<T>(
ItemType
);
219
throw ch.Except($"Item '{term}' in 'terms' specification could not be parsed as '{
ItemType
}'");
225
throw ch.ExceptUserArg(nameof(Options.Term), "Nothing parsed as '{0}'",
ItemType
);
236
var tryParse = Data.Conversion.Conversions.DefaultInstance.GetTryParseConversion<T>(
ItemType
);
244
ch.Warning("Item '{0}' ignored in 'term' specification since it could not be parsed as '{1}'", term,
ItemType
);
250
throw ch.ExceptUserArg(nameof(Options.Term), "Nothing parsed as '{0}'",
ItemType
);
293
Contracts.Assert(autoConvert || bldr.
ItemType
== type.GetItemType());
297
return Utils.MarshalInvoke(CreateVec<int>, bldr.
ItemType
.RawType, row, col, count, bldr);
298
return Utils.MarshalInvoke(CreateOne<int>, bldr.
ItemType
.RawType, row, col, autoConvert, count, bldr);
310
inputGetter = RowCursorUtils.GetGetterAs<T>(bldr.
ItemType
, row, col);