1 write to _host
Microsoft.ML.Data (1)
DataView\CacheDataView.cs (1)
82_host = env.Register("Cache");
30 references to _host
Microsoft.ML.Data (30)
DataView\CacheDataView.cs (30)
84_host.CheckValue(input, nameof(input)); 85_host.CheckValueOrNull(prefetch); 91_subsetInput = SelectCachableColumns(input, _host, ref prefetch, out _inputToSubsetColIndex); 96throw _host.Except("The input data view has too many ({0}) rows. CacheDataView can only cache up to {1} rows", _rowCount, Utils.ArrayMaxSize); 185_host.CheckParam(0 <= inputIndex && inputIndex < inputIndexLim, nameof(inputIndex), "Input column index not in range"); 187_host.Assert(-1 <= result && result < _subsetInput.Schema.Count); 211_host.CheckValueOrNull(rand); 236_host.Assert(rc >= 0); 246_host.AssertValue(predicate); 247_host.AssertValueOrNull(rand); 257_host.CheckValueOrNull(rand); 275_host.AssertValue(predicate); 276_host.Assert(n > 1); 277_host.AssertValueOrNull(rand); 302_host.CheckValue(predicate, nameof(predicate)); 306_host.Assert(_rowCount >= 0); 316_host.AssertValue(predicate); 329_host.AssertValue(columns); 384_host.AssertValue(cursor); 385_host.AssertValue(caches); 386_host.AssertValue(waiter); 393using (var ch = _host.Start("Cache Filler")) 403throw _host.Except("The input data view has too many ({0}) rows. CacheDataView can only cache up to {1} rows", rowCount, Utils.ArrayMaxSize); 407_host.Assert(_rowCount == -1 || rowCount <= _rowCount, inconsistentError); 418throw _host.Except("The input data view has too many ({0}) rows. CacheDataView can only cache up to {1} rows", _rowCount, Utils.ArrayMaxSize); 419_host.Assert(_rowCount == -1 || rowCount <= _rowCount, inconsistentError); 426_host.Assert(rc == -1 || rc == rowCount, inconsistentError); 1159Ch = parent._host.Start("Cursor"); 1282var host = parent._host; 1466: base(parent._host, waiter)