28 instantiations of RangeAttribute
Microsoft.ML.Core.Tests (5)
UnitTests\TestEntryPoints.cs (5)
388
range = new TlcModule.
RangeAttribute
() { Min = 5.0 };
393
range = new TlcModule.
RangeAttribute
() { Inf = 5.0 };
398
range = new TlcModule.
RangeAttribute
() { Max = 5.0 };
403
range = new TlcModule.
RangeAttribute
() { Sup = 5.0 };
408
range = new TlcModule.
RangeAttribute
() { Max = 1.0, Min = -1.0 };
Microsoft.ML.Data (1)
Prediction\Calibrator.cs (1)
2134
[TlcModule.
Range
(Inf = 0, Max = int.MaxValue)]
Microsoft.ML.FastTree (5)
Training\EarlyStoppingCriteria.cs (5)
123
[TlcModule.
Range
(Min = 0.0f)]
185
[TlcModule.
Range
(Min = 0.0f, Max = 1.0f)]
189
[TlcModule.
Range
(Inf = 0)]
291
[TlcModule.
Range
(Min = 0.0f, Max = 1.0f)]
475
[TlcModule.
Range
(Inf = 0)]
Microsoft.ML.LightGbm (17)
LightGbmArguments.cs (13)
70
[TlcModule.
Range
(Min = 0.0)]
81
[TlcModule.
Range
(Min = 0, Max = int.MaxValue)]
96
[TlcModule.
Range
(Min = 0.0)]
110
[TlcModule.
Range
(Min = 0, Max = int.MaxValue)]
123
[TlcModule.
Range
(Inf = 0.0, Max = 1.0)]
137
[TlcModule.
Range
(Inf = 0.0, Max = 1.0)]
149
[TlcModule.
Range
(Min = 0.0)]
163
[TlcModule.
Range
(Min = 0.0)]
263
[TlcModule.
Range
(Inf = 0.0, Max = 1.0)]
270
[TlcModule.
Range
(Inf = 0, Max = int.MaxValue)]
277
[TlcModule.
Range
(Inf = 0.0, Max = 1.0)]
328
[TlcModule.
Range
(Inf = 0.0, Max = 1.0)]
335
[TlcModule.
Range
(Inf = 0.0, Max = 1.0)]
LightGbmTrainerBase.cs (4)
201
[TlcModule.
Range
(Inf = 0, Max = int.MaxValue)]
209
[TlcModule.
Range
(Inf = 0, Max = int.MaxValue)]
221
[TlcModule.
Range
(Min = 0.0)]
229
[TlcModule.
Range
(Min = 0.0)]
16 references to RangeAttribute
Microsoft.ML.Core (7)
EntryPoints\EntryPointUtils.cs (7)
17
private static readonly FuncStaticMethodInfo1<TlcModule.
RangeAttribute
, object, bool> _isValueWithinRangeMethodInfo
18
= new FuncStaticMethodInfo1<TlcModule.
RangeAttribute
, object, bool>(IsValueWithinRange<int>);
20
private static bool IsValueWithinRange<T>(TlcModule.
RangeAttribute
range, object obj)
35
public static bool IsValueWithinRange(this TlcModule.
RangeAttribute
range, object val)
84
var
rangeAttr = fieldInfo.GetCustomAttributes(typeof(TlcModule.
RangeAttribute
), false).FirstOrDefault()
85
as TlcModule.
RangeAttribute
;
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
386
TlcModule.
RangeAttribute
range = null;
Microsoft.ML.Data (5)
EntryPoints\InputBuilder.cs (5)
27
public readonly TlcModule.
RangeAttribute
Range;
30
public Attributes(ArgumentAttribute input, TlcModule.
RangeAttribute
range, bool optional = false)
75
var
rangeAttr = fieldInfo.GetCustomAttributes(typeof(TlcModule.
RangeAttribute
), false).FirstOrDefault()
76
as TlcModule.
RangeAttribute
;
Microsoft.ML.EntryPoints (3)
JsonUtils\JsonManifestUtils.cs (3)
198
var
rangeAttr = fieldInfo.GetCustomAttributes(typeof(TlcModule.
RangeAttribute
), false).FirstOrDefault() as TlcModule.
RangeAttribute
;