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)
42
Contracts.Assert((_host != null) ==
_needCacheAfter
.Any(x => x));
73
if (
_needCacheAfter
[i] && i < _estimators.Length - 1)
95
return new EstimatorChain<TNewTrans>(_host, _estimators.AppendElement(estimator), _scopes.AppendElement(scope),
_needCacheAfter
.AppendElement(false));
115
if (
_needCacheAfter
.Last())
121
bool[] newNeedCache =
_needCacheAfter
.ToArray();