1 write to MaxInstancesToAccelerate
Microsoft.ML.KMeansClustering (1)
KMeansPlusPlusTrainer.cs (1)
489MaxInstancesToAccelerate = (int)baseMaxInstancesToAccelerate;
8 references to MaxInstancesToAccelerate
Microsoft.ML.KMeansClustering (8)
KMeansPlusPlusTrainer.cs (8)
520while (cursor.MoveNext() && n < MaxInstancesToAccelerate) 579Contracts.Assert(_acceleratedRowMap.MaxInstancesToAccelerate >= 0, 584if (_acceleratedRowMap.MaxInstancesToAccelerate > 0) 587_bestCluster = new int[_acceleratedRowMap.MaxInstancesToAccelerate]; 588_bestWeight = new float[_acceleratedRowMap.MaxInstancesToAccelerate]; 590for (int i = 0; i < _acceleratedRowMap.MaxInstancesToAccelerate; i++) 619Contracts.Assert(0 <= n && n < _acceleratedRowMap.MaxInstancesToAccelerate); 1242public int MaxInstancesToAccelerate => _acceleratedRowMap.MaxInstancesToAccelerate;