2 writes to _batchEnd
Microsoft.ML.Data (2)
DataView\AppendRowsDataView.cs (2)
435_batchEnd = 0; 453_batchEnd = newEnd;
9 references to _batchEnd
Microsoft.ML.Data (9)
DataView\AppendRowsDataView.cs (9)
436for (int i = 0; i < _rowsLeft.Length && _batchEnd < BatchSize; i++) 440newEnd = _batchEnd + _rowsLeft[i]; 445newEnd = _batchEnd + (int)Math.Ceiling((double)_rowsLeft[i] * BatchSize / _totalLeft); 450for (int j = _batchEnd; j < newEnd; j++) 452_rowsLeft[i] -= newEnd - _batchEnd; 455_totalLeft -= _batchEnd; 456Utils.Shuffle(_rand, _batch.AsSpan(0, _batchEnd)); 461if (_batchPos < _batchEnd) 466_ectx.Assert(_batchEnd > 0);