2 writes to _indices
Microsoft.ML.Data (2)
Deprecated\Instances\HeaderSchema.cs (2)
384
_indices
= new int[cnn];
417
_indices
= indices;
17 references to _indices
Microsoft.ML.Data (17)
Deprecated\Instances\HeaderSchema.cs (17)
393
_indices
[cv] = i;
431
if (iv <
_indices
.Length &&
_indices
[iv] < index)
433
if (++iv <
_indices
.Length &&
_indices
[iv] < index)
434
iv =
_indices
.FindIndexSorted(iv + 1,
_indices
.Length, index);
436
else if (iv > 0 &&
_indices
[iv - 1] >= index)
438
if (--iv > 0 &&
_indices
[iv - 1] >= index)
439
iv =
_indices
.FindIndexSorted(0, iv - 1, index);
441
Contracts.Assert(iv ==
_indices
.FindIndexSorted(index));
444
if (iv < _names.Length &&
_indices
[iv] == index)
455
if (ii <
_indices
.Length &&
_indices
[ii] == i)
472
lookup[name] =
_indices
[iv];
478
for (int i = 0; i <
_indices
.Length; i++)
479
yield return new KeyValuePair<int, string>(
_indices
[i], _names[i]);