4 writes to _values
Microsoft.ML.FastTree (4)
Dataset\SparseIntArray.cs (4)
83
_values
= IntArray.New(tempValueList.Count, IntArrayType.Dense, bitsPerItem, tempValueList) as DenseIntArray;
97
_values
= IntArray.New(buffer, ref position) as DenseIntArray;
107
_values
= values;
166
_values
= IntArray.New(tempValueList.Count, IntArrayType.Dense, bitsPerItem, tempValueList) as DenseIntArray;
21 references to _values
Microsoft.ML.FastTree (21)
Dataset\SparseIntArray.cs (21)
182
foreach (int val in
_values
)
229
return
_values
.SizeInBytes()
245
_values
.ToByteArray(buffer, ref position);
250
get { return
_values
.BitsPerItem; }
261
DenseIntArray newValues =
_values
.Clone(bitsPerItem, IntArrayType.Dense) as DenseIntArray;
268
for (int i = 0; i <
_values
.Length; ++i)
271
dense[index] =
_values
[i];
288
for (int i = 0; i <
_values
.Length; i++)
292
int featureBin =
_values
[i];
301
histogram.CountByBin[0] += input.TotalCount -
_values
.Length;
313
for (int i = 0; i <
_values
.Length; i++)
317
int featureBin =
_values
[i];
330
histogram.CountByBin[0] += input.TotalCount -
_values
.Length;
369
int featureBin =
_values
[iSparse];
429
int featureBin =
_values
[iSparse];
464
var callbackIntArray =
_values
as DenseDataCallbackIntArray;
475
_values
.BitsPerItem);
551
return _array.
_values
[_pos];
556
while (_pos < _array.
_values
.Length)
562
return _array.
_values
[_pos];
594
yield return
_values
[i];