2 writes to NumberOfThreads
Microsoft.ML.IntegrationTests (1)
IntrospectiveTraining.cs (1)
145new GamRegressionTrainer.Options { NumberOfIterations = 100, NumberOfThreads = 1 }));
Microsoft.ML.Tests (1)
CalibratedModelParametersTests.cs (1)
50new GamBinaryTrainer.Options { NumberOfThreads = 1 }).Fit(data);
4 references to NumberOfThreads
Microsoft.ML.FastTree (4)
GamTrainer.cs (4)
204Host.CheckParam(options.NumberOfThreads == null || options.NumberOfThreads > 0, nameof(options.NumberOfThreads), "Must be positive."); 604ThreadTaskManager.Initialize(GamTrainerOptions.NumberOfThreads ?? Environment.ProcessorCount);