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];
681
ch.Assert(
_numChunks
> 0 && _data == null);
688
ch.Assert(
_numChunks
== 0 && _data != null);
745
Contracts.Assert((
_numChunks
== 0) != (_data == null));
806
Contracts.Assert(
_numChunks
> 0);
807
Contracts.Assert(Utils.Size(_ranges) ==
_numChunks
+ 1);
808
Contracts.Assert(Utils.Size(_localLosses) ==
_numChunks
);
809
Contracts.Assert(Utils.Size(_localGradients) + 1 ==
_numChunks
);
816
Parallel.For(0,
_numChunks
,
826
for (int i = 1; i <
_numChunks
; i++)
836
Contracts.Assert(0 <= ichk && ichk <
_numChunks
);