2 writes to _leafBegin
Microsoft.ML.FastTree (2)
Training\DocumentPartitioning.cs (2)
37
_leafBegin
= new int[maxLeaves];
107
_leafBegin
= Enumerable.Range(0, 1).Concat(cumulativeLength).ToArray();
19 references to _leafBegin
Microsoft.ML.FastTree (19)
Training\DocumentPartitioning.cs (19)
110
Contracts.Assert(_documents.Length ==
_leafBegin
[tree.NumLeaves - 1] + _leafCount[tree.NumLeaves - 1]);
118
int documentPos =
_leafBegin
[l];
152
_leafBegin
[0] = 0;
182
var randInst =
_leafBegin
[i] + rand.Next(_leafCount[i]);
209
int begin =
_leafBegin
[leaf];
232
_leafBegin
[gtChildIndex] = newEnd;
255
int begin =
_leafBegin
[leaf];
280
_leafBegin
[gtChildIndex] = newEnd;
312
int begin =
_leafBegin
[leaf];
342
int index =
_leafBegin
[leaf];
343
int end =
_leafBegin
[leaf] + _leafCount[leaf];
353
Array.Copy(_documents,
_leafBegin
[leaf], documents, 0, _leafCount[leaf]);
360
begin =
_leafBegin
[leaf];
381
int end =
_leafBegin
[leaf] + _leafCount[leaf];
386
for (int i =
_leafBegin
[leaf]; i < end; ++i)
398
for (int i =
_leafBegin
[leaf]; i < end; ++i)
419
int end =
_leafBegin
[leaf] + _leafCount[leaf];
424
for (int i =
_leafBegin
[leaf]; i < end; ++i)
437
for (int i =
_leafBegin
[leaf]; i < end; ++i)