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, 534var idPipe = _pipes[numActive + (int)ExtraIndex.Id] = ShufflePipe.Create(_pipeIndices.Length, RowIdDataViewType.Instance, input.GetIdGetter()); 539_pipeIndex = _circularIndex = _pipeIndices.Length - 1; 586Ch.Assert(0 <= circularIndex && circularIndex < _pipeIndices.Length); 589int pipeIndex = _pipeIndices[circularIndex++]; 590Ch.Assert(0 <= pipeIndex && pipeIndex < _pipeIndices.Length); 593if (circularIndex == _pipeIndices.Length) 620Ch.Assert(0 <= _circularIndex && _circularIndex < _pipeIndices.Length); 622if (++_circularIndex == _pipeIndices.Length) 659int circularSwapIndex = (_rand.Next(Math.Min(_liveCount, _poolRows)) + _circularIndex) % _pipeIndices.Length; 660_pipeIndex = _pipeIndices[circularSwapIndex]; 661_pipeIndices[circularSwapIndex] = _pipeIndices[_circularIndex]; 662_pipeIndices[_circularIndex] = _pipeIndex; 699Ch.Assert(_pipeIndex == _pipeIndices[_circularIndex]);