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