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