1 write to _numChunks
Microsoft.ML.StandardTrainers (1)
Standard\LogisticRegression\LbfgsPredictorBase.cs (1)
662_numChunks = numThreads;
11 references to _numChunks
Microsoft.ML.StandardTrainers (11)
Standard\LogisticRegression\LbfgsPredictorBase.cs (11)
663_ranges = new int[_numChunks + 1]; 681ch.Assert(_numChunks > 0 && _data == null); 688ch.Assert(_numChunks == 0 && _data != null); 745Contracts.Assert((_numChunks == 0) != (_data == null)); 806Contracts.Assert(_numChunks > 0); 807Contracts.Assert(Utils.Size(_ranges) == _numChunks + 1); 808Contracts.Assert(Utils.Size(_localLosses) == _numChunks); 809Contracts.Assert(Utils.Size(_localGradients) + 1 == _numChunks); 816Parallel.For(0, _numChunks, 826for (int i = 1; i < _numChunks; i++) 836Contracts.Assert(0 <= ichk && ichk < _numChunks);