34 references to ToByteArray
Microsoft.ML.FastTree (34)
Dataset\DenseIntArray.cs (6)
174
Length.
ToByteArray
(buffer, ref position);
285
Length.
ToByteArray
(buffer, ref position);
426
Length.
ToByteArray
(buffer, ref position);
531
Length.
ToByteArray
(buffer, ref position);
641
Length.
ToByteArray
(buffer, ref position);
730
Length.
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)
102
lowerIsBetter.
ToByteArray
(buffer, ref offset);
105
valueOperator.
ToByteArray
(buffer, ref offset);
Training\TreeLearners\LeastSquaresRegressionTreeLearner.cs (4)
1137
Feature.
ToByteArray
(buffer, ref offset);
1143
LteCount.
ToByteArray
(buffer, ref offset);
1144
GTCount.
ToByteArray
(buffer, ref offset);
1145
Flock.
ToByteArray
(buffer, ref offset);
TreeEnsemble\InternalRegressionTree.cs (2)
528
NumLeaves.
ToByteArray
(buffer, ref position);
534
CategoricalSplit.Length.
ToByteArray
(buffer, ref position);
Utils\ToByteArrayExtensions.cs (13)
255
bytes.Length.
ToByteArray
(buffer, ref position);
265
bytes.Length.
ToByteArray
(allBytes, ref position);
287
a.Length.
ToByteArray
(buffer, ref position);
312
length.
ToByteArray
(buffer, ref position);
351
length.
ToByteArray
(buffer, ref position);
390
length.
ToByteArray
(buffer, ref position);
434
length.
ToByteArray
(buffer, ref position);
473
length.
ToByteArray
(buffer, ref position);
512
length.
ToByteArray
(buffer, ref position);
551
length.
ToByteArray
(buffer, ref position);
590
length.
ToByteArray
(buffer, ref position);
630
a.Length.
ToByteArray
(buffer, ref position);
662
Utils.Size(a).
ToByteArray
(buffer, ref position);