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];
1411
Host.Assert(0 <=
_offset
[i] &&
_offset
[i] <= 1);
1412
any |=
_offset
[i] != 0;
1450
ctx.Writer.WriteBoolByte(
_offset
!= null);
1487
if (
_offset
!= null)
1490
bldr.AddFeature(i, BinUtils.GetValue(values[i], _binUpperBounds[i], _den[i],
_offset
[i]));
1502
if (
_offset
!= null)
1515
BinUtils.GetValue(values[ii], _binUpperBounds[ivDst], _den[ivDst],
_offset
[ivDst]));
1521
BinUtils.GetValue(zero, _binUpperBounds[ivDst], _den[ivDst],
_offset
[ivDst]));
1542
ImmutableArray.Create(
_offset
));