70 references to Int32
Microsoft.ML.AutoML (1)
AutoMLExperiment\ITrialResultManager.cs (1)
140new TextLoader.Column("id", DataKind.Int32, 0),
Microsoft.ML.AutoML.Tests (1)
AutoFitTests.cs (1)
715new TextLoader.Column(groupIdColumnName, DataKind.Int32, 1),
Microsoft.ML.CodeGenerator (2)
Utils.cs (2)
162case Microsoft.ML.Data.DataKind.Int32: 353case DataKind.Int32:
Microsoft.ML.CodeGenerator.Tests (16)
ApprovalTests\ConsoleCodeGeneratorTests.cs (10)
615new TextLoader.Column("col4", DataKind.Int32, 0), 652new TextLoader.Column("col4", DataKind.Int32, 0), 743new TextLoader.Column("col3", DataKind.Int32, 0), 996new TextLoader.Column("id", DataKind.Int32, 0), 997new TextLoader.Column("MsAssetNum", DataKind.Int32, 1), 1002new TextLoader.Column("Work category", DataKind.Int32, 6), 1026ColumnType = DataKind.Int32, 1034ColumnType = DataKind.Int32, 1074ColumnType = DataKind.Int32, 1110new TextLoader.Column("col4", DataKind.Int32, 0),
CodeGenTests.cs (6)
155new TextLoader.Column(){ Name = "id", Source = new TextLoader.Range[]{new TextLoader.Range(0) }, DataKind = DataKind.Int32 }, 156new TextLoader.Column(){ Name = "shape", Source = new TextLoader.Range[]{new TextLoader.Range(1) }, DataKind = DataKind.Int32 }, 175new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.Range(2) }, DataKind = DataKind.Int32 }, 176new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.Range(3) }, DataKind = DataKind.Int32 }, 177new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.Range(4) }, DataKind = DataKind.Int32 }, 179new TextLoader.Column(){ Name = "var_num", Source = new TextLoader.Range[]{new TextLoader.Range(6) }, DataKind = DataKind.Int32 },
Microsoft.ML.Core (1)
Data\DataKind.cs (1)
90I4 = DataKind.Int32,
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
76new TextLoader.Column("F2", DataKind.Int32, 2),
Microsoft.ML.IntegrationTests (2)
Datasets\TypeTestData.cs (1)
86new TextLoader.Column("I4", DataKind.Int32, 5),
Validation.cs (1)
80new TextLoader.Column(groupIdColumnName, DataKind.Int32, 1),
Microsoft.ML.Samples (2)
Dynamic\TensorFlow\TextClassification.cs (1)
51new TextLoader.Column("Ids", DataKind.Int32, 1),
Dynamic\Transforms\Conversion\ConvertType.cs (1)
24"SurvivedInt32", "Survived", DataKind.Int32);
Microsoft.ML.Samples.GPU (1)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\TextClassification.cs (1)
51new TextLoader.Column("Ids", DataKind.Int32, 1),
Microsoft.ML.TensorFlow.Tests (1)
TensorflowTests.cs (1)
1270new TextLoader.Column("Ids", DataKind.Int32, 1),
Microsoft.ML.Tests (40)
OnnxConversionTest.cs (28)
460public void KeyToVectorTest([CombinatorialValues(DataKind.Single, DataKind.Int64, DataKind.Int32, DataKind.Int16, DataKind.UInt64, 889[InlineData(DataKind.SByte, DataKind.Int32)] 900[InlineData(DataKind.Int16, DataKind.Int32)] 909[InlineData(DataKind.Int32, DataKind.Int16)] 910[InlineData(DataKind.Int32, DataKind.Int32)] 911[InlineData(DataKind.Int32, DataKind.Int64)] 912[InlineData(DataKind.Int32, DataKind.Single)] 913[InlineData(DataKind.Int32, DataKind.Double)] 915[InlineData(DataKind.Int64, DataKind.Int32)] 935[InlineData(DataKind.String, DataKind.Int32)] 1054[CombinatorialValues(DataKind.SByte, DataKind.Int16, DataKind.Int32, DataKind.Int64, DataKind.Byte, 1066(type == DataKind.Int32) ? 8 : 1093[CombinatorialValues(DataKind.SByte, DataKind.Int16, DataKind.Int32, DataKind.Int64, DataKind.Byte, 1105(type == DataKind.Int32) ? 8 : 1117(type == DataKind.Int32) ? 9 : 1168.Append(mlContext.Transforms.Conversion.ConvertType("MissingIndicator", outputKind: DataKind.Int32)); 1183[CombinatorialValues(DataKind.Single, DataKind.Int64, DataKind.Int32, DataKind.Int16, DataKind.UInt64, 1222public void ValueMappingOnnxConversionTest([CombinatorialValues(DataKind.Int64, DataKind.Int32, DataKind.UInt32, DataKind.UInt64, 1295else if (keyType == DataKind.Int32) 1381[InlineData(DataKind.Int32)] 1590[InlineData(DataKind.Int32)] 1890new TextLoader.Column("Shape", DataKind.Int32, 3), 1891new TextLoader.Column("Adhesion", DataKind.Int32, 4), 1892new TextLoader.Column("EpithelialSize", DataKind.Int32, 5), 1893new TextLoader.Column("BlandChromatin", DataKind.Int32, 7), 1894new TextLoader.Column("NormalNucleoli", DataKind.Int32, 8), 1895new TextLoader.Column("Mitoses", DataKind.Int32, 9),
TermEstimatorTests.cs (1)
63new TextLoader.Column("int1", DataKind.Int32, 9),
TextLoaderTests.cs (3)
1286new TextLoader.Column("id", DataKind.Int32, 0), 1397new TextLoader.Column("id", DataKind.Int32, 0), 1436new TextLoader.Column("id", DataKind.Int32, 0),
TrainerEstimators\PriorRandomTests.cs (1)
24new TextLoader.Column("F2", DataKind.Int32, 2),
Transformers\ConvertTests.cs (1)
182new TypeConvertingEstimator.ColumnOptions("ConvBI", DataKind.Int32, "AB") // verify Boolean -> Int32 conversion
Transformers\ExpressionTransformerTests.cs (2)
31new TextLoader.Column("Int", DataKind.Int32, 9), 32new TextLoader.Column("IntVector", DataKind.Int32, 9, 14),
Transformers\NormalizerTests.cs (4)
44new TextLoader.Column("int1", DataKind.Int32, 0), 113new TextLoader.Column("int1", DataKind.Int32, 0), 232new TextLoader.Column("int1", DataKind.Int32, 0), 998new TextLoader.Column("int1", DataKind.Int32, 0),
Microsoft.ML.TorchSharp.Tests (1)
QATests.cs (1)
80new TextLoader.Column("AnswerIndex", DataKind.Int32,3)
Microsoft.ML.Transforms (1)
Text\NgramTransform.cs (1)
790var dataKind = _srcTypes[iinfo] == NumberDataViewType.UInt32 ? DataKind.Int32 : DataKind.Int64;