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