1 write to _acceleratedRowMap
Microsoft.ML.KMeansClustering (1)
KMeansPlusPlusTrainer.cs (1)
578
_acceleratedRowMap
= new KMeansAcceleratedRowMap(factory, ch, baseMaxInstancesToAccelerate, totalTrainingInstances, isParallel);
7 references to _acceleratedRowMap
Microsoft.ML.KMeansClustering (7)
KMeansPlusPlusTrainer.cs (7)
550
public KMeansUtils.RowIndexGetter RowIndexGetter { get { return
_acceleratedRowMap
.RowIndexGetter; } }
579
Contracts.Assert(
_acceleratedRowMap
.MaxInstancesToAccelerate >= 0,
584
if (
_acceleratedRowMap
.MaxInstancesToAccelerate > 0)
587
_bestCluster = new int[
_acceleratedRowMap
.MaxInstancesToAccelerate];
588
_bestWeight = new float[
_acceleratedRowMap
.MaxInstancesToAccelerate];
590
for (int i = 0; i <
_acceleratedRowMap
.MaxInstancesToAccelerate; i++)
619
Contracts.Assert(0 <= n && n <
_acceleratedRowMap
.MaxInstancesToAccelerate);