1 write to _pipeIndices
Microsoft.ML.Data (1)
Transforms\RowShufflingTransformer.cs (1)
516
_pipeIndices
= Utils.GetIdentityPermutation(_poolRows - 1 + _bufferDepth * _blockSize);
15 references to _pipeIndices
Microsoft.ML.Data (15)
Transforms\RowShufflingTransformer.cs (15)
530
_pipes[ia] = ShufflePipe.Create(
_pipeIndices
.Length,
534
var idPipe = _pipes[numActive + (int)ExtraIndex.Id] = ShufflePipe.Create(
_pipeIndices
.Length, RowIdDataViewType.Instance, input.GetIdGetter());
539
_pipeIndex = _circularIndex =
_pipeIndices
.Length - 1;
586
Ch.Assert(0 <= circularIndex && circularIndex <
_pipeIndices
.Length);
589
int pipeIndex =
_pipeIndices
[circularIndex++];
590
Ch.Assert(0 <= pipeIndex && pipeIndex <
_pipeIndices
.Length);
593
if (circularIndex ==
_pipeIndices
.Length)
620
Ch.Assert(0 <= _circularIndex && _circularIndex <
_pipeIndices
.Length);
622
if (++_circularIndex ==
_pipeIndices
.Length)
659
int circularSwapIndex = (_rand.Next(Math.Min(_liveCount, _poolRows)) + _circularIndex) %
_pipeIndices
.Length;
660
_pipeIndex =
_pipeIndices
[circularSwapIndex];
661
_pipeIndices
[circularSwapIndex] =
_pipeIndices
[_circularIndex];
662
_pipeIndices
[_circularIndex] = _pipeIndex;
699
Ch.Assert(_pipeIndex ==
_pipeIndices
[_circularIndex]);