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