1 write to Offset
Microsoft.ML.Data (1)
Transforms\NormalizeColumn.cs (1)
458Offset = offset;
10 references to Offset
Microsoft.ML.Data (10)
Transforms\NormalizeColumn.cs (2)
467bldr.AddPrimitive("AffineOffset", typeSrc, Offset); 471=> new NormalizingTransformer.AffineNormalizerModelParameters<TFloat>(Scale, Offset);
Transforms\NormalizeColumnDbl.cs (4)
689value = (input - Offset) * Scale; 694AffineNormSerializationUtils.SaveModel(ctx, 1, null, new[] { Scale }, new[] { Offset }, saveText: true); 698=> PfaUtils.Call("*", PfaUtils.Call("-", srcToken, Offset), Scale); 702nodeProtoWrapper.AddAttribute("offset", Enumerable.Repeat(Offset, featureCount));
Transforms\NormalizeColumnSng.cs (4)
847value = (input - Offset) * Scale; 852AffineNormSerializationUtils.SaveModel(ctx, 1, null, new[] { Scale }, new[] { Offset }, saveText: true); 856=> PfaUtils.Call("*", PfaUtils.Call("-", srcToken, Offset), Scale); 860node.AddAttribute("offset", Enumerable.Repeat(Offset, featureCount));