1 write to Options
Microsoft.ML.Core (1)
EntryPoints\ModuleArgs.cs (1)
330
Options
= isBool ? new object[] { false, true } : values;
8 references to Options
Microsoft.ML.Core (8)
EntryPoints\ModuleArgs.cs (8)
339
if (!Frozen && 0 <= val && val <
Options
.Length)
346
for (int i = 0; i <
Options
.Length; i++)
347
if (valueText ==
Options
[i].ToString())
353
for (int i = 0; i <
Options
.Length; i++)
354
if (option ==
Options
[i])
390
new SweepableDiscreteParamAttribute(Name,
Options
) { RawValue = RawValue, Frozen = Frozen };
395
return $"[TlcModule.{GetType().Name}({name}new object[]{{{string.Join(", ",
Options
.Select(TranslateOption))}}})]";
398
public override IComparable ProcessedValue() => (IComparable)
Options
[(int)RawValue];