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