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)
272
int length = buffer.
ToInt
(ref position);
294
int length = buffer.
ToInt
(ref position);
326
int length = buffer.
ToInt
(ref position);
365
int length = buffer.
ToInt
(ref position);
403
=> buffer.ToIntArray(ref position, buffer.
ToInt
(ref position));
448
int length = buffer.
ToInt
(ref position);
487
int length = buffer.
ToInt
(ref position);
526
int length = buffer.
ToInt
(ref position);
565
int length = buffer.
ToInt
(ref position);
604
int length = buffer.
ToInt
(ref position);
639
int length = buffer.
ToInt
(ref position);
671
int length = buffer.
ToInt
(ref position);