7 writes to Type
Microsoft.ML.Data (2)
DataLoadSave\Database\DatabaseLoader.cs (2)
164
column.
Type
= dk.ToDbType();
222
Type
= dbType;
Microsoft.ML.Tests (5)
DatabaseLoaderTests.cs (5)
56
new DatabaseLoader.Column() { Name = "Label",
Type
= DbType.Int32 },
57
new DatabaseLoader.Column() { Name = "SepalLength",
Type
= DbType.Single },
58
new DatabaseLoader.Column() { Name = "SepalWidth",
Type
= DbType.Single },
59
new DatabaseLoader.Column() { Name = "PetalLength",
Type
= DbType.Single },
60
new DatabaseLoader.Column() { Name = "PetalWidth",
Type
= DbType.Single }
5 references to Type
Microsoft.ML.Data (5)
DataLoadSave\Database\DatabaseLoader.cs (5)
495
itemType = ConstructKeyType(col.
Type
, col.KeyCount);
499
ch.CheckUserArg(Enum.IsDefined(typeof(DbType), col.
Type
), nameof(Column.
Type
), "Bad item type");
500
itemType = ColumnTypeExtensions.PrimitiveTypeFromType(col.
Type
.ToType());
689
Contracts.CheckUserArg(KeyDataViewType.IsValidDataType(rawType), nameof(DatabaseLoader.Column.
Type
), "Bad item type for Key");