11 writes to NumberOfThreads
Microsoft.ML.IntegrationTests (1)
Evaluation.cs (1)
244NumberOfThreads = 1,
Microsoft.ML.Samples (2)
Dynamic\Trainers\Recommendation\MatrixFactorizationWithOptions.cs (1)
48NumberOfThreads = 1,
Dynamic\Trainers\Recommendation\OneClassMatrixFactorizationWithOptions.cs (1)
51NumberOfThreads = 8,
Microsoft.ML.Tests (8)
TrainerEstimators\MatrixFactorizationTests.cs (8)
45NumberOfThreads = 1, 80NumberOfThreads = 1, // To eliminate randomness, # of threads must be 1. 224NumberOfThreads = 1, // To eliminate randomness, # of threads must be 1. 335NumberOfThreads = 1, // To eliminate randomness, # of threads must be 1. 456NumberOfThreads = 1, // To eliminate randomness, # of threads must be 1. 600NumberOfThreads = 1, // To eliminate randomness, # of threads must be 1. 664NumberOfThreads = 8, 782NumberOfThreads = 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;