1 write to _uniformLength
Microsoft.ML.Data (1)
DataView\CacheDataView.cs (1)
1352
_uniformLength
= type.GetVectorSize();
9 references to _uniformLength
Microsoft.ML.Data (9)
DataView\CacheDataView.cs (9)
1365
if (
_uniformLength
!= 0 &&
_uniformLength
!= _temp.Length)
1366
throw Ctx.Except("Caching expected vector of size {0}, but {1} encountered.",
_uniformLength
, _temp.Length);
1367
Ctx.Assert(
_uniformLength
== 0 ||
_uniformLength
== _temp.Length);
1377
if (
_uniformLength
== 0)
1390
Ctx.Assert(
_uniformLength
> 0 || idx < Utils.Size(_lengths));
1398
int len =
_uniformLength
== 0 ? _lengths[idx] :
_uniformLength
;