205 references to GetIndices
Microsoft.ML.Core (23)
Microsoft.ML.Core.Tests (21)
Microsoft.ML.Data (79)
Deprecated\Vector\VBufferMathUtils.cs (9)
127src.GetIndices().CopyTo(editor.Indices);
153CpuMathUtils.Add(srcValues, src.GetIndices(), editor.Values, srcValues.Length);
181CpuMathUtils.AddScale(c, srcValues, src.GetIndices(), editor.Values, srcValues.Length);
258CpuMathUtils.AddScale(c, srcValues, src.GetIndices(), values, srcValues.Length);
267var dstIndices = dst.GetIndices();
278var srcIndices = src.GetIndices();
339var srcIndices = src.GetIndices();
423var srcIndices = src.GetIndices();
459var srcIndices = src.GetIndices();
Deprecated\Vector\VectorUtils.cs (17)
38return CpuMathUtils.DotProductSparse(a, bValues, b.GetIndices(), bValues.Length);
54return CpuMathUtils.DotProductSparse(aValues, bValues, b.GetIndices(), bValues.Length);
58return CpuMathUtils.DotProductSparse(bValues, aValues, a.GetIndices(), aValues.Length);
59return DotProductSparse(aValues, a.GetIndices(), 0, aValues.Length, bValues, b.GetIndices(), 0, bValues.Length);
82var aIndices = a.GetIndices();
264return CpuMathUtils.DotProductSparse(aValues.Slice(offset), bValues, b.GetIndices(), bValues.Length);
269var aIndices = a.GetIndices();
278var bIndices = b.GetIndices();
314return CpuMathUtils.DotProductSparse(a.AsSpan(offset), bValues, b.GetIndices(), bValues.Length);
401return L2DistSquaredHalfSparse(a.GetValues(), b.GetValues(), b.GetIndices());
404return L2DistSquaredHalfSparse(b.GetValues(), a.GetValues(), a.GetIndices());
405return L2DistSquaredSparse(a.GetValues(), a.GetIndices(), b.GetValues(), b.GetIndices());
420return L2DistSquaredHalfSparse(a.AsSpan(0, a.Length), b.GetValues(), b.GetIndices());
454var srcIndices = src.GetIndices();
485var srcIndices = src.GetIndices();
Microsoft.ML.DataView (4)
VBuffer.cs (4)
17/// <see cref="GetValues"/> and, if not dense, <see cref="GetIndices"/>.
75/// To give one example, if <see cref="GetIndices"/> returns [3, 5] and <see cref="GetValues"/>() produces [98, 76],
364/// items, which is to say, the <see cref="ReadOnlySpan{Int32}.Length"/> of the return value of <see cref="GetIndices"/>.
369/// <see cref="GetValues"/> and, if appropriate, <see cref="GetIndices"/> directly.
Microsoft.ML.Ensemble (1)
Microsoft.ML.FastTree (10)
Microsoft.ML.KMeansClustering (1)
Microsoft.ML.LightGbm (1)
Microsoft.ML.Mkl.Components (4)
Microsoft.ML.OneDal (1)
Microsoft.ML.Predictor.Tests (1)
Microsoft.ML.Samples (2)
Microsoft.ML.StandardTrainers (19)
Standard\SdcaMulticlass.cs (2)
300CpuMathUtils.SdcaL1UpdateSparse(-primalUpdate, featureValues.Length, featureValues, features.GetIndices(), l1Threshold, l1IntermediateWeightsEditor.Values, weightsEditor.Values);
331CpuMathUtils.SdcaL1UpdateSparse(labelPrimalUpdate, featureValues.Length, featureValues, features.GetIndices(), l1Threshold, l1IntermediateWeightsEditor.Values, weightsEditor.Values);
Microsoft.ML.TestFrameworkCommon (2)
Microsoft.ML.Tests (2)
Microsoft.ML.Transforms (34)