3 writes to CountValues
Microsoft.ML.Core (3)
Utilities\BinFinder.cs (3)
78CountValues = _counts.Count; 156CountValues = _counts.Count; 190CountValues = numValues;
27 references to CountValues
Microsoft.ML.Core (27)
Utilities\BinFinder.cs (27)
79if (CountValues <= CountBins) 81bounds = new Single[CountValues]; 89Contracts.Assert(_path[CountBins] == CountValues); 157if (CountValues <= CountBins) 159bounds = new Double[CountValues]; 167Contracts.Assert(_path[CountBins] == CountValues); 204Contracts.Assert(path[CountBins] == CountValues); 331Contracts.Assert(CountValues > CountBins); 332Contracts.Assert(counts.Count == CountValues); 337if (Utils.Size(_accum) < CountValues + 1) 338_accum = new int[CountValues + 1]; 339for (int i = 0; i < CountValues; i++) 341_meanBinSize = (float)_accum[CountValues] / CountBins; 356Segment seg = GetSegmentSplit(0, CountValues); 370_path[CountBins] = CountValues; 374Contracts.Assert(_path[CountBins] == CountValues); 434Contracts.Assert(0 <= min && min < split && split < max && max <= CountValues); 569Contracts.Assert(CountValues > CountBins); 570Contracts.Assert(counts.Count == CountValues); 575if (Utils.Size(_accum) < CountValues + 1) 576_accum = new int[CountValues + 1]; 577for (int i = 0; i < CountValues; i++) 581_cskip = CountValues - CountBins; 677Contracts.Assert(height + width == CountValues); 678int total = _accum[CountValues]; 694_path[CountBins] = CountValues; 734int span = _accum[CountValues] - _accum[row + 1 + col];