1 write to Index
Microsoft.ML.Core (1)
Utilities\BinFinder.cs (1)
312
Index
= index;
14 references to Index
Microsoft.ML.Core (14)
Utilities\BinFinder.cs (14)
491
Contracts.Assert(pegs[peg.
Index
] == peg);
492
Contracts.Assert(_path[peg.
Index
] != peg.Split);
493
_path[peg.
Index
] = peg.Split;
495
Contracts.Assert(FindSplitPosition(out e, _path[peg.
Index
- 1], _path[peg.
Index
+ 1], peg.
Index
) == peg.Split);
497
if (peg.
Index
> 1)
498
UpdatePeg(pegs[peg.
Index
- 1]);
500
if (peg.
Index
< CountBins - 1)
501
UpdatePeg(pegs[peg.
Index
+ 1]);
510
int min = _path[peg.
Index
- 1];
511
int cur = _path[peg.
Index
];
512
int max = _path[peg.
Index
+ 1];
514
int split = FindSplitPosition(out energy, min, max, peg.
Index
);