2 writes to _rowCount
Microsoft.ML.Data (2)
DataView\CacheDataView.cs (2)
92
_rowCount
= _subsetInput.GetRowCount() ?? -1;
423
long rc = Interlocked.CompareExchange(ref
_rowCount
, rowCount, -1);
13 references to _rowCount
Microsoft.ML.Data (13)
DataView\CacheDataView.cs (13)
95
if (
_rowCount
> Utils.ArrayMaxSize)
96
throw _host.Except("The input data view has too many ({0}) rows. CacheDataView can only cache up to {1} rows",
_rowCount
, Utils.ArrayMaxSize);
202
long rowCount =
_rowCount
;
233
if (
_rowCount
< 0)
235
long rc =
_rowCount
;
240
return Utils.GetRandomPermutation(rand, (int)
_rowCount
);
306
_host.Assert(
_rowCount
>= 0);
407
_host.Assert(
_rowCount
== -1 || rowCount <=
_rowCount
, inconsistentError);
417
if (
_rowCount
> Utils.ArrayMaxSize)
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);