2 writes to Count
Microsoft.ML.Data (2)
Utilities\TypeParsingUtils.cs (2)
92
Count
= count;
143
Count
= ich == -1 ? tmp : tmp + 1;
12 references to Count
Microsoft.ML.Data (12)
Data\SchemaDefinition.cs (1)
445
itemType = new KeyDataViewType(dataType, keyAttr.KeyCount.
Count
.GetValueOrDefault());
DataLoadSave\Database\DatabaseLoader.cs (2)
691
if (keyCount.
Count
== null)
694
keyType = new KeyDataViewType(rawType, keyCount.
Count
.GetValueOrDefault());
Transforms\TypeConverting.cs (1)
228
ctx.Writer.Write(_columns[i].OutputKeyCount.
Count
?? _columns[i].OutputKind.ToInternalDataKind().ToMaxInt());
Utilities\TypeParsingUtils.cs (8)
63
if (keyCount.
Count
== null)
66
keyType = new KeyDataViewType(rawType, keyCount.
Count
.GetValueOrDefault());
145
Contracts.CheckDecode(
Count
== null ||
Count
> 0);
152
Contracts.Assert(
Count
== null ||
Count
> 0);
154
if (
Count
!= null)
155
sb.Append(
Count
);