11 writes to NumberOfThreads
Microsoft.ML.IntegrationTests (1)
Evaluation.cs (1)
244
NumberOfThreads
= 1,
Microsoft.ML.Samples (2)
Dynamic\Trainers\Recommendation\MatrixFactorizationWithOptions.cs (1)
48
NumberOfThreads
= 1,
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (1)
51
NumberOfThreads
= 8,
Microsoft.ML.Tests (8)
TrainerEstimators\MatrixFactorizationTests.cs (8)
45
NumberOfThreads
= 1,
80
NumberOfThreads
= 1, // To eliminate randomness, # of threads must be 1.
224
NumberOfThreads
= 1, // To eliminate randomness, # of threads must be 1.
335
NumberOfThreads
= 1, // To eliminate randomness, # of threads must be 1.
456
NumberOfThreads
= 1, // To eliminate randomness, # of threads must be 1.
600
NumberOfThreads
= 1, // To eliminate randomness, # of threads must be 1.
664
NumberOfThreads
= 8,
782
NumberOfThreads
= 1, // To eliminate randomness, # of threads must be 1.
5 references to NumberOfThreads
Microsoft.ML.Recommender (5)
MatrixFactorizationTrainer.cs (5)
353
_host.CheckUserArg(!options.
NumberOfThreads
.HasValue || options.
NumberOfThreads
> 0, nameof(options.
NumberOfThreads
), posError);
366
_threads = options.
NumberOfThreads
?? Environment.ProcessorCount;
408
_threads = args.
NumberOfThreads
?? Environment.ProcessorCount;