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)
182foreach (int val in _values) 229return _values.SizeInBytes() 245_values.ToByteArray(buffer, ref position); 250get { return _values.BitsPerItem; } 261DenseIntArray newValues = _values.Clone(bitsPerItem, IntArrayType.Dense) as DenseIntArray; 268for (int i = 0; i < _values.Length; ++i) 271dense[index] = _values[i]; 288for (int i = 0; i < _values.Length; i++) 292int featureBin = _values[i]; 301histogram.CountByBin[0] += input.TotalCount - _values.Length; 313for (int i = 0; i < _values.Length; i++) 317int featureBin = _values[i]; 330histogram.CountByBin[0] += input.TotalCount - _values.Length; 369int featureBin = _values[iSparse]; 429int featureBin = _values[iSparse]; 464var callbackIntArray = _values as DenseDataCallbackIntArray; 475_values.BitsPerItem); 551return _array._values[_pos]; 556while (_pos < _array._values.Length) 562return _array._values[_pos]; 594yield return _values[i];