34 references to ToByteArray
Microsoft.ML.FastTree (34)
Dataset\DenseIntArray.cs (6)
174Length.ToByteArray(buffer, ref position); 285Length.ToByteArray(buffer, ref position); 426Length.ToByteArray(buffer, ref position); 531Length.ToByteArray(buffer, ref position); 641Length.ToByteArray(buffer, ref position); 730Length.ToByteArray(buffer, ref position);
Dataset\Feature.cs (1)
134((int)Type).ToByteArray(buffer, ref position);
Dataset\IntArray.cs (2)
58((int)Type).ToByteArray(buffer, ref position); 59((int)BitsPerItem).ToByteArray(buffer, ref position);
Dataset\RepeatIntArray.cs (1)
99_length.ToByteArray(buffer, ref position);
Dataset\SegmentIntArray.cs (2)
130((int)_bpi).ToByteArray(buffer, ref position); 131_length.ToByteArray(buffer, ref position);
Dataset\SparseIntArray.cs (1)
243_length.ToByteArray(buffer, ref position);
Training\Test.cs (2)
102lowerIsBetter.ToByteArray(buffer, ref offset); 105valueOperator.ToByteArray(buffer, ref offset);
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (4)
1137Feature.ToByteArray(buffer, ref offset); 1143LteCount.ToByteArray(buffer, ref offset); 1144GTCount.ToByteArray(buffer, ref offset); 1145Flock.ToByteArray(buffer, ref offset);
TreeEnsemble\InternalRegressionTree.cs (2)
528NumLeaves.ToByteArray(buffer, ref position); 534CategoricalSplit.Length.ToByteArray(buffer, ref position);
Utils\ToByteArrayExtensions.cs (13)
255bytes.Length.ToByteArray(buffer, ref position); 265bytes.Length.ToByteArray(allBytes, ref position); 287a.Length.ToByteArray(buffer, ref position); 312length.ToByteArray(buffer, ref position); 351length.ToByteArray(buffer, ref position); 390length.ToByteArray(buffer, ref position); 434length.ToByteArray(buffer, ref position); 473length.ToByteArray(buffer, ref position); 512length.ToByteArray(buffer, ref position); 551length.ToByteArray(buffer, ref position); 590length.ToByteArray(buffer, ref position); 630a.Length.ToByteArray(buffer, ref position); 662Utils.Size(a).ToByteArray(buffer, ref position);