2 writes to _offset
Microsoft.ML.Data (2)
Transforms\NormalizeColumnDbl.cs (2)
1245_offset = new TFloat[_binUpperBounds.Length]; 1254_offset = null;
11 references to _offset
Microsoft.ML.Data (11)
Transforms\NormalizeColumnDbl.cs (11)
1249_offset[i] = _binUpperBounds[i].FindIndexSorted(0) / _den[i]; 1250Host.Assert(0 <= _offset[i] && _offset[i] <= 1); 1251any |= _offset[i] != 0; 1289ctx.Writer.WriteBoolByte(_offset != null); 1325if (_offset != null) 1328bldr.AddFeature(i, BinUtils.GetValue(in values[i], _binUpperBounds[i], _den[i], _offset[i])); 1340if (_offset != null) 1353BinUtils.GetValue(in values[ii], _binUpperBounds[ivDst], _den[ivDst], _offset[ivDst])); 1359BinUtils.GetValue(in zero, _binUpperBounds[ivDst], _den[ivDst], _offset[ivDst])); 1379ImmutableArray.Create(_offset));