3 writes to _circularIndex
Microsoft.ML.Data (3)
Transforms\RowShufflingTransformer.cs (3)
539
_pipeIndex =
_circularIndex
= _pipeIndices.Length - 1;
622
if (++
_circularIndex
== _pipeIndices.Length)
623
_circularIndex
= 0;
6 references to _circularIndex
Microsoft.ML.Data (6)
Transforms\RowShufflingTransformer.cs (6)
620
Ch.Assert(0 <=
_circularIndex
&&
_circularIndex
< _pipeIndices.Length);
659
int circularSwapIndex = (_rand.Next(Math.Min(_liveCount, _poolRows)) +
_circularIndex
) % _pipeIndices.Length;
661
_pipeIndices[circularSwapIndex] = _pipeIndices[
_circularIndex
];
662
_pipeIndices[
_circularIndex
] = _pipeIndex;
699
Ch.Assert(_pipeIndex == _pipeIndices[
_circularIndex
]);