6 writes to Type
Microsoft.ML.Data (6)
DataLoadSave\Text\TextLoader.cs (4)
98Type = kind; 124set { Type = value.ToInternalDataKind(); } 166Type = kind == default ? InternalDataKind.R4 : kind; 1627column.Type = dk;
DataLoadSave\Text\TextSaver.cs (1)
519return new TextLoader.Column() { Name = name, KeyCount = keyCount, Source = source, Type = kind };
Transforms\ValueMapping.cs (1)
541valueColumn.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"/>. 123get { return Type.ToDataKind(); } 204if (Type != default || KeyCount != null) 206if (Type != default) 207sb.Append(Type.GetString()); 772itemType = TypeParsingUtils.ConstructKeyType(col.Type, col.KeyCount); 776kind = col.Type == default ? InternalDataKind.R4 : col.Type; 777ch.CheckUserArg(Enum.IsDefined(typeof(InternalDataKind), kind), nameof(Column.Type), "Bad item type");
Utilities\TypeParsingUtils.cs (1)
61Contracts.CheckUserArg(KeyDataViewType.IsValidDataType(rawType), nameof(TextLoader.Column.Type), "Bad item type for Key");