2 writes to _host
Microsoft.ML.Data (2)
DataLoadSave\EstimatorChain.cs (2)
36_host = env?.Register(nameof(EstimatorChain<TLastTransformer>)); 51_host = null;
4 references to _host
Microsoft.ML.Data (4)
DataLoadSave\EstimatorChain.cs (4)
42Contracts.Assert((_host != null) == _needCacheAfter.Any(x => x)); 75Contracts.AssertValue(_host); 76current = new CacheDataView(_host, current, null); 95return new EstimatorChain<TNewTrans>(_host, _estimators.AppendElement(estimator), _scopes.AppendElement(scope), _needCacheAfter.AppendElement(false));