14 references to Add
Microsoft.ML.Core.Tests (1)
UnitTests\TestVBuffer.cs (1)
595
VectorUtils.
Add
(in a, ref actualDst);
Microsoft.ML.Data (1)
Evaluators\ClusteringEvaluator.cs (1)
463
VectorUtils.
Add
(in _features, ref _clusterCentroids[_indicesArr[0]]);
Microsoft.ML.Ensemble (1)
OutputCombiners\BaseMultiAverager.cs (1)
49
VectorUtils.
Add
(in src[i], ref dst);
Microsoft.ML.KMeansClustering (7)
KMeansPlusPlusTrainer.cs (7)
1116
VectorUtils.
Add
(in features, ref CachedSum[cluster]);
1122
VectorUtils.
Add
(in features, ref CachedSum[cluster]);
1135
VectorUtils.
Add
(in features, ref Centroids[cluster]);
1164
VectorUtils.
Add
(in workChunkArr[i].CachedSum[j], ref reducedState.CachedSum[j]);
1165
VectorUtils.
Add
(in workChunkArr[i].Centroids[j], ref reducedState.Centroids[j]);
1211
VectorUtils.
Add
(in CachedSum[i], ref Centroids[i]);
1425
VectorUtils.
Add
(in cursor.Features, ref cachedSumCopy[state.GetBestCluster(id)]);
Microsoft.ML.StandardTrainers (4)
Optimizer\DifferentiableFunction.cs (2)
108
VectorUtils.
Add
(in tempGrad, ref _tempGrads[chunkIndex]);
138
VectorUtils.
Add
(in _tempGrads[c], ref gradient);
Standard\LinearModelParameters.cs (1)
345
VectorUtils.
Add
(in subweights, ref weights);
Standard\LogisticRegression\LbfgsPredictorBase.cs (1)
828
VectorUtils.
Add
(in _localGradients[i - 1], ref gradient);