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);
96
throw
_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);
393
using (var ch =
_host
.Start("Cache Filler"))
403
throw
_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);
418
throw
_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);
1159
Ch = parent.
_host
.Start("Cursor");
1282
var host = parent.
_host
;
1466
: base(parent.
_host
, waiter)