1 write to Values
Microsoft.ML.DataView (1)
459 references to Values
Microsoft.ML.AutoML.Tests (1)
Microsoft.ML.Core (65)
Utilities\VBufferUtils.cs (65)
246editor.Values.Clear();
277for (int i = 0; i < editor.Values.Length; i++)
278manip(i, ref editor.Values[i]);
283for (int i = 0; i < editor.Values.Length; i++)
284manip(dstIndices[i], ref editor.Values[i]);
309int dstValuesCount = editor.Values.Length;
313manip(slot, ref editor.Values[slot]);
320manip(slot, ref editor.Values[idx]);
343editor.Values.Slice(idx, sliceLength).CopyTo(editor.Values.Slice(idx + 1));
347editor.Values[idx] = value;
371editor.Values[indices[i]] = values[i];
374editor.Values.Clear();
380editor.Values.Slice(min, indices[ii] - min).Clear();
383editor.Values.Slice(min, dst.Length - min).Clear();
390editor.Values[indices[i]] = values[i];
418newIndicesEditor.Values.Clear();
433editor.Values.Slice(lim, sliceLength).CopyTo(editor.Values.Slice(denseCount));
438editor.Values[ii] = i >= 0 && dstIndices[i] == ii ? dstValues[i--] : default(T);
482editor.Values[j] = srcValues[i];
632manip(i, default(TSrc), ref editor.Values[i]);
637manip(dstIndices[i], default(TSrc), ref editor.Values[i]);
653manip(i, srcValues[i], ref editor.Values[i]);
669manip(i, srcValues[sI], ref editor.Values[i]);
673manip(i, default(TSrc), ref editor.Values[i]);
679manip(srcIndices[i], srcValues[i], ref editor.Values[srcIndices[i]]);
692editor.Values.Clear();
694manip(editor.Indices[i] = srcIndices[i], srcValues[i], ref editor.Values[i]);
751var values = editor.Values;
801manip(srcIndices[i], srcValues[i], ref editor.Values[i]);
816manip(sIndex, srcValues[sI], ref editor.Values[i]);
820manip(dstIndices[i], default(TSrc), ref editor.Values[i]);
831manip(sIndex, srcValues[sI], ref editor.Values[dI++]);
862manip(srcIndices[sI], srcValues[sI], ref editor.Values[sI]);
897manip(i, srcValues[i], default(TDst), ref editor.Values[i]);
912manip(i, srcValues[ii], default(TDst), ref editor.Values[ii]);
926manip(j, default(TSrc), dstValues[j], ref editor.Values[j]);
932editor.Values[j] = dstValues[j];
940manip(i, srcValues[i], dstValues[i], ref editor.Values[i]);
959manip(j, srcValues[ii], dstValues[j], ref editor.Values[j]);
963manip(j, default(TSrc), dstValues[j], ref editor.Values[j]);
973manip(j, srcValues[ii], dstValues[j], ref editor.Values[j]);
977editor.Values[j] = dstValues[j];
998manip(j, default(TSrc), dstValues[jj], ref editor.Values[jj]);
1006editor.Values[jj] = dstValues[jj];
1021manip(i, srcValues[i], dstValues[jj], ref editor.Values[i]);
1025manip(i, srcValues[i], default(TDst), ref editor.Values[i]);
1082manip(i, srcValues[ii], dstValues[jj], ref editor.Values[kk]);
1090manip(i, srcValues[ii], default(TDst), ref editor.Values[kk]);
1100manip(j, default(TSrc), dstValues[jj], ref editor.Values[kk]);
1102editor.Values[kk] = dstValues[jj];
1142Span<TDst> values = editor.Values;
1208editor.Values[i] = func(i, aVal, bValues[i]);
1218editor.Values[i] = func(i, aValues[i], bVal);
1225editor.Values[i] = func(i, aValues[i], bValues[i]);
1265editor.Values[aI] = func(aIndices[aI], aValues[aI], bValues[aI]);
1277editor.Values[bI] = func(bIndices[bI], aVal, bValues[bI]);
1280editor.Values[bI] = func(bIndices[bI], default(TSrc1), bValues[bI]);
1292editor.Values[aI] = func(aIndices[aI], aValues[aI], bVal);
1295editor.Values[aI] = func(aIndices[aI], aValues[aI], default(TSrc2));
1327editor.Values[newI] = func(index, aVal, bVal);
1334editor.Values[newI] = func(index, aValues[aI], default(TSrc2));
1341editor.Values[newI] = func(index, default(TSrc1), bValues[bI]);
1360editor.Values[i] = src[i];
Microsoft.ML.Core.Tests (5)
Microsoft.ML.Data (144)
Deprecated\Vector\VBufferMathUtils.cs (14)
90CpuMathUtils.Scale(c, editor.Values);
92editor.Values.Clear();
119editor.Values.Clear();
121CpuMathUtils.Scale(c, srcValues, editor.Values, length);
129editor.Values.Clear();
131CpuMathUtils.Scale(c, srcValues, editor.Values, count);
151CpuMathUtils.Add(srcValues, editor.Values, src.Length);
153CpuMathUtils.Add(srcValues, src.GetIndices(), editor.Values, srcValues.Length);
179CpuMathUtils.AddScale(c, srcValues, editor.Values, src.Length);
181CpuMathUtils.AddScale(c, srcValues, src.GetIndices(), editor.Values, srcValues.Length);
209CpuMathUtils.AddScaleCopy(c, srcValues, dst.GetValues(), editor.Values, length);
254values = editor.Values.Slice(offset);
302values = editor.Values;
394editor.Values.Clear();
Transforms\Hashing.cs (18)
1051editor.Values[i] = hasher.HashCoreOld(seed, mask, srcValues[i]);
1068editor.Values[i] = hasher.HashCoreOld(seed, mask, srcValues[i]);
1077editor.Values[i] = defaultHashOld;
1081editor.Values[srcIndices[i]] = hasher.HashCoreOld(seed, mask, srcValues[i]);
1105editor.Values[i] = hasher.HashCore(seed, mask, srcValues[i]);
1122editor.Values[i] = hasher.HashCore(seed, mask, srcValues[i]);
1131editor.Values[i] = defaultHash;
1135editor.Values[srcIndices[i]] = hasher.HashCore(seed, mask, srcValues[i]);
1171editor.Values[i] = hasher.HashCoreOld(Hashing.MurmurRound(seed, (uint)i), mask, srcValues[i]);
1177editor.Values[i] = hasher.HashCoreOld(Hashing.MurmurRound(seed, (uint)srcIndices[i]), mask, srcValues[i]);
1194editor.Values[i] = hasher.HashCoreOld(Hashing.MurmurRound(seed, (uint)i), mask, srcValues[i]);
1204editor.Values[i] = hasher.HashCoreOld(indexSeed, mask, default(T));
1206editor.Values[i] = hasher.HashCoreOld(indexSeed, mask, srcValues[j++]);
1235editor.Values[i] = hasher.HashCore(Hashing.MurmurRound(seed, (uint)i), mask, srcValues[i]);
1241editor.Values[i] = hasher.HashCore(Hashing.MurmurRound(seed, (uint)srcIndices[i]), mask, srcValues[i]);
1258editor.Values[i] = hasher.HashCore(Hashing.MurmurRound(seed, (uint)i), mask, srcValues[i]);
1268editor.Values[i] = hasher.HashCore(indexSeed, mask, default(T));
1270editor.Values[i] = hasher.HashCore(indexSeed, mask, srcValues[j++]);
Microsoft.ML.DataView (13)
Microsoft.ML.Ensemble (11)
Microsoft.ML.FastTree (11)
Microsoft.ML.ImageAnalytics (3)
Microsoft.ML.KMeansClustering (1)
Microsoft.ML.Mkl.Components (5)
SymSgdClassificationTrainer.cs (3)
758Native.LearnAll(inputDataManager, tuneLR, ref lr, l2Const, piw, weightsEditor.Values, ref bias, numFeatures,
780Native.LearnAll(inputDataManager, tuneLR, ref lr, l2Const, piw, weightsEditor.Values, ref bias, numFeatures,
802Native.MapBackWeightVector(weightsEditor.Values, stateGCHandle);
VectorWhitening.cs (2)
6911, model, length, values, 1, 0, editor.Values, 1);
702editor.Values[i] = CpuMathUtils.DotProductSparse(model.AsSpan(offs), values, indices, count);
Microsoft.ML.OnnxTransformer (3)
Microsoft.ML.PCA (1)
Microsoft.ML.StandardTrainers (40)
Standard\SdcaBinary.cs (6)
861VectorUtils.AddMult(in features, weightsEditor.Values, primalUpdate);
880CpuMathUtils.SdcaL1UpdateDense(primalUpdate, featureValues.Length, featureValues, l1Threshold, l1IntermediateWeightsEditor.Values, weightsEditor.Values);
882CpuMathUtils.SdcaL1UpdateSparse(primalUpdate, featureValues.Length, featureValues, features.GetIndices(), l1Threshold, l1IntermediateWeightsEditor.Values, weightsEditor.Values);
2136VectorUtils.AddMult(in features, weightsEditor.Values, (float)(step / weightScaling));
Standard\SdcaMulticlass.cs (10)
279VectorUtils.AddMult(in features, weightsEditor.Values, -primalUpdate);
298CpuMathUtils.SdcaL1UpdateDense(-primalUpdate, featureValues.Length, featureValues, l1Threshold, l1IntermediateWeightsEditor.Values, weightsEditor.Values);
300CpuMathUtils.SdcaL1UpdateSparse(-primalUpdate, featureValues.Length, featureValues, features.GetIndices(), l1Threshold, l1IntermediateWeightsEditor.Values, weightsEditor.Values);
314VectorUtils.AddMult(in features, weightsEditor.Values, labelPrimalUpdate);
329CpuMathUtils.SdcaL1UpdateDense(labelPrimalUpdate, featureValues.Length, featureValues, l1Threshold, l1IntermediateWeightsEditor.Values, weightsEditor.Values);
331CpuMathUtils.SdcaL1UpdateSparse(labelPrimalUpdate, featureValues.Length, featureValues, features.GetIndices(), l1Threshold, l1IntermediateWeightsEditor.Values, weightsEditor.Values);
Microsoft.ML.TensorFlow (3)
Microsoft.ML.TimeSeries (47)
Microsoft.ML.TorchSharp (8)
Microsoft.ML.Transforms (95)
Microsoft.ML.Vision (3)