35 references to ToInt
Microsoft.ML.FastTree (35)
Dataset\DenseIntArray.cs (6)
153
: base(buffer.
ToInt
(ref position))
219
: base(buffer.
ToInt
(ref position))
396
: base(buffer.
ToInt
(ref position))
508
: base(buffer.
ToInt
(ref position))
610
: base(buffer.
ToInt
(ref position))
699
: base(buffer.
ToInt
(ref position))
Dataset\Feature.cs (1)
78
FeatureType type = (FeatureType)buffer.
ToInt
(ref position);
Dataset\IntArray.cs (2)
159
IntArrayType type = (IntArrayType)buffer.
ToInt
(ref position);
160
IntArrayBits bitsPerItem = (IntArrayBits)buffer.
ToInt
(ref position);
Dataset\RepeatIntArray.cs (2)
83
_length = buffer.
ToInt
(ref position);
85
_deltasActualLength = buffer.
ToInt
(ref _deltasActualLength);
Dataset\SegmentIntArray.cs (2)
111
_bpi = (IntArrayBits)(buffer.
ToInt
(ref position));
112
_length = buffer.
ToInt
(ref position);
Dataset\SparseIntArray.cs (1)
90
_length = buffer.
ToInt
(ref position);
Training\Test.cs (2)
113
int lowerIsBetter = buffer.
ToInt
(ref offset);
114
int valueOperator = buffer.
ToInt
(ref offset);
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (4)
1164
Feature = buffer.
ToInt
(ref offset);
1170
LteCount = buffer.
ToInt
(ref offset);
1171
GTCount = buffer.
ToInt
(ref offset);
1172
Flock = buffer.
ToInt
(ref offset);
TreeEnsemble\InternalRegressionTree.cs (1)
101
NumLeaves = buffer.
ToInt
(ref position);
Utils\CompressUtils.cs (2)
33
block.Size = block.Buffer.
ToInt
(ref p);
83
block.Size = block.Buffer.
ToInt
(ref p);
Utils\ToByteArrayExtensions.cs (12)
247
int length = buffer.
ToInt
(ref position);
269
int length = buffer.
ToInt
(ref position);
299
int length = buffer.
ToInt
(ref position); // reading trusted length from input stream
332
int length = buffer.
ToInt
(ref position); // reading trusted length from input stream
364
=> buffer.ToIntArray(ref position, buffer.
ToInt
(ref position));
403
int length = buffer.
ToInt
(ref position); // reading trusted length from input stream
436
int length = buffer.
ToInt
(ref position); // reading trusted length from input stream
469
int length = buffer.
ToInt
(ref position); // reading trusted length from input stream
502
int length = buffer.
ToInt
(ref position); // reading trusted length from input stream
535
int length = buffer.
ToInt
(ref position); // reading trusted length from input stream
566
int length = buffer.
ToInt
(ref position); // reading trusted length from input stream
598
int length = buffer.
ToInt
(ref position); // reading trusted length from input stream