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)
78FeatureType type = (FeatureType)buffer.ToInt(ref position);
Dataset\IntArray.cs (2)
159IntArrayType type = (IntArrayType)buffer.ToInt(ref position); 160IntArrayBits 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)
113int lowerIsBetter = buffer.ToInt(ref offset); 114int valueOperator = buffer.ToInt(ref offset);
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (4)
1164Feature = buffer.ToInt(ref offset); 1170LteCount = buffer.ToInt(ref offset); 1171GTCount = buffer.ToInt(ref offset); 1172Flock = buffer.ToInt(ref offset);
TreeEnsemble\InternalRegressionTree.cs (1)
101NumLeaves = buffer.ToInt(ref position);
Utils\CompressUtils.cs (2)
33block.Size = block.Buffer.ToInt(ref p); 83block.Size = block.Buffer.ToInt(ref p);
Utils\ToByteArrayExtensions.cs (12)
247int length = buffer.ToInt(ref position); 269int length = buffer.ToInt(ref position); 299int length = buffer.ToInt(ref position); // reading trusted length from input stream 332int length = buffer.ToInt(ref position); // reading trusted length from input stream 364=> buffer.ToIntArray(ref position, buffer.ToInt(ref position)); 403int length = buffer.ToInt(ref position); // reading trusted length from input stream 436int length = buffer.ToInt(ref position); // reading trusted length from input stream 469int length = buffer.ToInt(ref position); // reading trusted length from input stream 502int length = buffer.ToInt(ref position); // reading trusted length from input stream 535int length = buffer.ToInt(ref position); // reading trusted length from input stream 566int length = buffer.ToInt(ref position); // reading trusted length from input stream 598int length = buffer.ToInt(ref position); // reading trusted length from input stream