7 references to ToMaxInt
Microsoft.ML.Data (6)
Data\Conversion.cs (1)
444
if (keySrc.Count > typeDst.RawType.
ToMaxInt
())
Data\SchemaDefinition.cs (1)
443
itemType = new KeyDataViewType(dataType, dataType.
ToMaxInt
());
DataLoadSave\Binary\Codecs.cs (2)
1259
type = new KeyDataViewType(itemType.RawType, itemType.RawType.
ToMaxInt
());
1347
Contracts.CheckDecode(count <= itemType.RawType.
ToMaxInt
());
DataLoadSave\Database\DatabaseLoader.cs (1)
692
keyType = new KeyDataViewType(rawType, rawType.
ToMaxInt
());
Utilities\TypeParsingUtils.cs (1)
64
keyType = new KeyDataViewType(rawType, rawType.
ToMaxInt
());
Microsoft.ML.Tests (1)
TextLoaderTests.cs (1)
822
Assert.True(result.Schema[featureIdx].Type is KeyDataViewType keyType && keyType.Count == typeof(uint).
ToMaxInt
());