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