11 references to FromInt
Microsoft.ML.AutoML (1)
Tuner\SmacTuner.cs (1)
210
var comparer = Parameter.
FromInt
(0);
Microsoft.ML.AutoML.Samples (1)
Sweepable\ParameterExample.cs (1)
16
var intParam = Parameter.
FromInt
(10);
Microsoft.ML.SearchSpace (5)
Converter\ParameterConverter.cs (1)
31
return Parameter.
FromInt
(_int);
Option\ChoiceOption.cs (1)
71
return _option.MappingToFeatureSpace(Parameter.
FromInt
(x));
Option\UniformNumericOption.cs (2)
172
Default = MappingToFeatureSpace(Parameter.
FromInt
(defaultValue.Value));
182
return Parameter.
FromInt
(intValue);
Parameter.cs (1)
176
int i => Parameter.
FromInt
(i),
Microsoft.ML.SearchSpace.Tests (4)
ParameterTest.cs (1)
50
var parameter = Parameter.
FromInt
(3);
SearchSpaceTest.cs (1)
250
parameter["int"] = Parameter.
FromInt
(0);
UniformNumericOptionTests.cs (2)
47
var sampleInputs = Enumerable.Range(0, 10).Select(i => Parameter.
FromInt
(i * 10));
65
var sampleInputs = Enumerable.Range(0, 10).Select(i => Parameter.
FromInt
(Convert.ToInt32(Math.Pow(2, i))));