5 writes to ScaleImage
Microsoft.ML.ImageAnalytics (5)
ImagePixelExtractor.cs (5)
631
ScaleImage
= Defaults.Scale;
636
ScaleImage
= item.Scale ?? options.Scale ?? Defaults.Scale;
681
ScaleImage
= Defaults.Scale;
686
ScaleImage
= scaleImage;
729
ScaleImage
= ctx.Reader.ReadFloat();
9 references to ScaleImage
Microsoft.ML.ImageAnalytics (9)
ImagePixelExtractor.cs (9)
353
float scale = ex.
ScaleImage
;
606
/// <summary>Output array as float array. If false, output as byte array and ignores <see cref="OffsetImage"/> and <see cref="
ScaleImage
"/> .</summary>
638
Contracts.CheckUserArg(FloatUtils.IsFiniteNonZero(
ScaleImage
), nameof(item.Scale));
689
Contracts.CheckParam(FloatUtils.IsFiniteNonZero(
ScaleImage
), nameof(scaleImage));
730
Contracts.CheckDecode(FloatUtils.IsFiniteNonZero(
ScaleImage
));
731
Contracts.CheckDecode(OutputAsFloatArray || OffsetImage == 0 &&
ScaleImage
== 1);
760
Contracts.Assert(FloatUtils.IsFiniteNonZero(
ScaleImage
));
761
Contracts.Assert(OutputAsFloatArray || OffsetImage == 0 &&
ScaleImage
== 1);
762
ctx.Writer.Write(
ScaleImage
);