7 writes to _rank
Microsoft.ML.TimeSeries (7)
AdaptiveSingularSpectrumSequenceModeler.cs (7)
256_rank = (int)rank; 260_rank = _maxRank; 304_rank = model._rank; 376_rank = ctx.Reader.ReadInt32(); 1317_rank = 1; 1326_rank = DetermineSignalRank(dataArray, tMat, leftSingularVecs, singularVals, signal, _maxRank); 1328_rank = DetermineSignalRankFast(dataArray, tMat, leftSingularVecs, singularVals, _maxRank);
28 references to _rank
Microsoft.ML.TimeSeries (28)
AdaptiveSingularSpectrumSequenceModeler.cs (28)
182public int Rank { get { return _rank; } } 257_host.CheckParam(1 <= _rank && _rank < windowSize, nameof(rank), "The rank should be in [1, windowSize)."); 302_host.Assert(1 <= model._rank && model._rank < model._windowSize); 304_rank = model._rank; 332_y = new CpuAlignedVector(_rank, CpuMathUtils.GetVectorAlignment()); 333_wTrans = new CpuAlignedMatrixRow(_rank, _windowSize, CpuMathUtils.GetVectorAlignment()); 377_host.CheckDecode(1 <= _rank && _rank < _windowSize); 423_info.Rank = _rank; 433_host.CheckDecode(Utils.Size(tempArray) == _rank * _windowSize); 434_wTrans = new CpuAlignedMatrixRow(_rank, _windowSize, CpuMathUtils.GetVectorAlignment()); 439_y = new CpuAlignedVector(_rank, CpuMathUtils.GetVectorAlignment()); 458_host.Assert(1 <= _rank && _rank < _windowSize); 490ctx.Writer.Write(_rank); 510var tempArray = new Single[_rank * _windowSize]; 514tempArray = new float[_rank]; 1112_y = new CpuAlignedVector(_rank, CpuMathUtils.GetVectorAlignment()); 1113_wTrans = new CpuAlignedMatrixRow(_rank, _windowSize, CpuMathUtils.GetVectorAlignment()); 1114Single[] vecs = new Single[_rank * _windowSize]; 1116for (i = 0; i < _rank; ++i) 1332_y = new CpuAlignedVector(_rank, CpuMathUtils.GetVectorAlignment()); 1335_wTrans = new CpuAlignedMatrixRow(_rank, _windowSize, CpuMathUtils.GetVectorAlignment()); 1341for (i = 0; i < _rank; ++i) 1367ReconstructSignalTailFast(dataArray, tMat, leftSingularVecs, _rank, signal); 1407_info.Rank = _rank;