1 write to CachedSum
Microsoft.ML.KMeansClustering (1)
KMeansPlusPlusTrainer.cs (1)
1067CachedSum = new VBuffer<float>[k];
9 references to CachedSum
Microsoft.ML.KMeansClustering (9)
KMeansPlusPlusTrainer.cs (9)
1028public VBuffer<float>[] CachedSumDebug { get { return CachedSum; } } 1069CachedSum[j] = VBufferUtils.CreateDense<float>(dimensionality); 1091VBufferUtils.Clear(ref CachedSum[i]); 1116VectorUtils.Add(in features, ref CachedSum[cluster]); 1122VectorUtils.Add(in features, ref CachedSum[cluster]); 1124VectorUtils.AddMult(in features, -1, ref CachedSum[previousCluster]); 1164VectorUtils.Add(in workChunkArr[i].CachedSum[j], ref reducedState.CachedSum[j]); 1211VectorUtils.Add(in CachedSum[i], ref Centroids[i]);