2 writes to _offset
Microsoft.ML.Data (2)
Transforms\NormalizeColumnSng.cs (2)
1406_offset = new TFloat[_binUpperBounds.Length]; 1415_offset = null;
11 references to _offset
Microsoft.ML.Data (11)
Transforms\NormalizeColumnSng.cs (11)
1410_offset[i] = _binUpperBounds[i].FindIndexSorted(0) / _den[i]; 1411Host.Assert(0 <= _offset[i] && _offset[i] <= 1); 1412any |= _offset[i] != 0; 1450ctx.Writer.WriteBoolByte(_offset != null); 1487if (_offset != null) 1490bldr.AddFeature(i, BinUtils.GetValue(values[i], _binUpperBounds[i], _den[i], _offset[i])); 1502if (_offset != null) 1515BinUtils.GetValue(values[ii], _binUpperBounds[ivDst], _den[ivDst], _offset[ivDst])); 1521BinUtils.GetValue(zero, _binUpperBounds[ivDst], _den[ivDst], _offset[ivDst])); 1542ImmutableArray.Create(_offset));