23 references to AddMult
Microsoft.ML.Core.Tests (1)
UnitTests\TestVBuffer.cs (1)
589
VectorUtils.
AddMult
(in a, c, ref actualDst);
Microsoft.ML.Ensemble (1)
OutputCombiners\BaseMultiAverager.cs (1)
58
VectorUtils.
AddMult
(in src[i], w, ref dst);
Microsoft.ML.KMeansClustering (1)
KMeansPlusPlusTrainer.cs (1)
1124
VectorUtils.
AddMult
(in features, -1, ref CachedSum[previousCluster]);
Microsoft.ML.PCA (1)
PcaTrainer.cs (1)
318
VectorUtils.
AddMult
(in cursor.Features, cursor.Weight, ref mean);
Microsoft.ML.StandardTrainers (19)
LdSvm\LdSvmTrainer.cs (3)
355
VectorUtils.
AddMult
(in features, tempGradW, ref tempW[l]);
363
VectorUtils.
AddMult
(in features, tempGradThetaPrime, ref tempThetaPrime[l]);
371
VectorUtils.
AddMult
(in features, tempGradTheta, ref tempTheta[m]);
Optimizer\LineSearch.cs (2)
468
VectorUtils.
AddMult
(in _c1, d1, ref grad);
469
VectorUtils.
AddMult
(in _c2, d2, ref grad);
Optimizer\Optimizer.cs (2)
262
VectorUtils.
AddMult
(in _yList[i], alphas[i], ref _dir);
280
VectorUtils.
AddMult
(in _sList[i], -alphas[i] - beta, ref _dir);
Optimizer\SgdOptimizer.cs (4)
205
VectorUtils.
AddMult
(in grad, scale, ref step);
212
VectorUtils.
AddMult
(in step, -stepSize, ref x);
213
VectorUtils.
AddMult
(in x, (float)1 / (n + 1), ref avg);
347
VectorUtils.
AddMult
(in _newGrad, -1, ref _dir);
Standard\LogisticRegression\LbfgsPredictorBase.cs (1)
357
VectorUtils.
AddMult
(in x, -1, ref oldWeights);
Standard\Online\AveragedLinear.cs (5)
199
VectorUtils.
AddMult
(in Weights, NumNoUpdates * WeightsScale, ref TotalWeights);
236
VectorUtils.
AddMult
(in Weights, NumNoUpdates * WeightsScale, ref TotalWeights);
251
VectorUtils.
AddMult
(in feat, biasUpdate / WeightsScale, ref Weights);
284
VectorUtils.
AddMult
(in Weights, WeightsScale, ref TotalWeights);
289
VectorUtils.
AddMult
(in Weights, Gain * WeightsScale, ref TotalWeights);
Standard\Online\LinearSvm.cs (2)
199
VectorUtils.
AddMult
(in feat, currentBiasUpdate, ref _weightsUpdate);
234
VectorUtils.
AddMult
(in weightsUpdate, rate * weightsUpdateScale / (_numBatchExamples * WeightsScale), ref Weights);