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