2 writes to _needCacheAfter
Microsoft.ML.Data (2)
DataLoadSave\EstimatorChain.cs (2)
40_needCacheAfter = needCacheAfter ?? new bool[0]; 54_needCacheAfter = new bool[0];
5 references to _needCacheAfter
Microsoft.ML.Data (5)
DataLoadSave\EstimatorChain.cs (5)
42Contracts.Assert((_host != null) == _needCacheAfter.Any(x => x)); 73if (_needCacheAfter[i] && i < _estimators.Length - 1) 95return new EstimatorChain<TNewTrans>(_host, _estimators.AppendElement(estimator), _scopes.AppendElement(scope), _needCacheAfter.AppendElement(false)); 115if (_needCacheAfter.Last()) 121bool[] newNeedCache = _needCacheAfter.ToArray();