5 writes to NumberOfThreads
Microsoft.ML.IntegrationTests (3)
Evaluation.cs (1)
125.Append(mlContext.Clustering.Trainers.KMeans(new KMeansTrainer.Options { NumberOfThreads = 1 }));
IntrospectiveTraining.cs (1)
426NumberOfThreads = 1
ONNX.cs (1)
94new KMeansTrainer.Options { NumberOfThreads = 1, MaximumNumberOfIterations = 10 }));
Microsoft.ML.Samples (1)
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
32NumberOfThreads = 1
Microsoft.ML.Tests (1)
OnnxConversionTest.cs (1)
159NumberOfThreads = 1,
5 references to NumberOfThreads
Microsoft.ML.KMeansClustering (5)
KMeansPlusPlusTrainer.cs (5)
191Host.CheckUserArg(!options.NumberOfThreads.HasValue || options.NumberOfThreads > 0, nameof(options.NumberOfThreads), 193_numThreads = ComputeNumThreads(options.NumberOfThreads); 793ch.CheckUserArg(numThreads > 0, nameof(KMeansTrainer.Options.NumberOfThreads), "Must be positive");