3 writes to _buffer
Microsoft.ML.TimeSeries (3)
AdaptiveSingularSpectrumSequenceModeler.cs (3)
268_buffer = new FixedSizeQueue<Single>(seriesLength); 321_buffer = model._buffer.Clone(); 443_buffer = TimeSeriesUtils.DeserializeFixedSizeQueueSingle(ctx.Reader, _host);
14 references to _buffer
Microsoft.ML.TimeSeries (14)
AdaptiveSingularSpectrumSequenceModeler.cs (14)
192public Single LastValue { get { return _buffer.Count > 0 ? _buffer[_buffer.Count - 1] : Single.NaN; } } 321_buffer = model._buffer.Clone(); 520TimeSeriesUtils.SerializeFixedSizeQueue(_buffer, ctx.Writer); 735_buffer.Clear(); 1125if (_buffer.Count == 0) 1128_buffer.AddLast(_state[i]); 1131int len = _buffer.Count; 1135_x[i - len + _windowSize - 1] = _buffer[i]; 1159_buffer.AddLast(input); 1378if (_buffer.Count > 0) // Use the buffer to set the state when there are data points pushed into the buffer using the Consume() method 1380int len = _buffer.Count; 1384_x[i - len + _windowSize] = _buffer[i];