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