6 writes to Type
Microsoft.ML.Data (6)
DataLoadSave\Text\TextLoader.cs (4)
98
Type
= kind;
124
set {
Type
= value.ToInternalDataKind(); }
166
Type
= kind == default ? InternalDataKind.R4 : kind;
1627
column.
Type
= dk;
DataLoadSave\Text\TextSaver.cs (1)
519
return new TextLoader.Column() { Name = name, KeyCount = keyCount, Source = source,
Type
= kind };
Transforms\ValueMapping.cs (1)
541
valueColumn.
Type
= DataKind.UInt64.ToInternalDataKind();
10 references to Type
Microsoft.ML.Data (10)
DataLoadSave\Text\TextLoader.cs (9)
111
/// Although <see cref="InternalDataKind"/> is internal, <see cref="
Type
"/>'s information can be publicly accessed by <see cref="DataKind"/>.
123
get { return
Type
.ToDataKind(); }
204
if (
Type
!= default || KeyCount != null)
206
if (
Type
!= default)
207
sb.Append(
Type
.GetString());
772
itemType = TypeParsingUtils.ConstructKeyType(col.
Type
, col.KeyCount);
776
kind = col.
Type
== default ? InternalDataKind.R4 : col.
Type
;
777
ch.CheckUserArg(Enum.IsDefined(typeof(InternalDataKind), kind), nameof(Column.
Type
), "Bad item type");
Utilities\TypeParsingUtils.cs (1)
61
Contracts.CheckUserArg(KeyDataViewType.IsValidDataType(rawType), nameof(TextLoader.Column.
Type
), "Bad item type for Key");