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)
1365if (_uniformLength != 0 && _uniformLength != _temp.Length) 1366throw Ctx.Except("Caching expected vector of size {0}, but {1} encountered.", _uniformLength, _temp.Length); 1367Ctx.Assert(_uniformLength == 0 || _uniformLength == _temp.Length); 1377if (_uniformLength == 0) 1390Ctx.Assert(_uniformLength > 0 || idx < Utils.Size(_lengths)); 1398int len = _uniformLength == 0 ? _lengths[idx] : _uniformLength;