1 write to Offset
Microsoft.ML.Data (1)
Transforms\NormalizeColumn.cs (1)
490Offset = offset;
23 references to Offset
Microsoft.ML.Data (23)
Transforms\NormalizeColumn.cs (7)
487Host.Assert(Offset == null || Offset.Length == Scale.Length); 501if (Offset != null) 513Host.AssertValue(Offset); 514var src = new VBuffer<TFloat>(Offset.Length, Offset); 519=> new NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<TFloat>>(ImmutableArray.Create(Scale), ImmutableArray.Create(Offset));
Transforms\NormalizeColumnDbl.cs (8)
754AffineNormSerializationUtils.SaveModel(ctx, Scale.Length, null, Scale, Offset, saveText: true); 763if (Offset != null) 765cellName = ctx.DeclareCell("AffNormOffset", arrType, new JArray(Offset)); 774if (Offset != null) 775node.AddAttribute("offset", Offset); 788if (Offset == null) 804FillValues(in dst, bldr, Scale, Offset); 814FillValues(in dst, bldr, Scale, Offset, IndicesNonZeroOffset);
Transforms\NormalizeColumnSng.cs (8)
911AffineNormSerializationUtils.SaveModel(ctx, Scale.Length, null, Scale, Offset, saveText: true); 920if (Offset != null) 922cellName = ctx.DeclareCell("AffNormOffset", arrType, new JArray(Offset)); 931if (Offset != null) 932node.AddAttribute("offset", Offset); 945if (Offset == null) 961FillValues(in dst, bldr, Scale, Offset); 971FillValues(in dst, bldr, Scale, Offset, IndicesNonZeroOffset);