DML_SCALE_BIAS structure (directml.h)
Contains the values of scale and bias terms supplied to a DirectML operator. Scale and bias have the effect of applying the function g(x) = x * Scale + Bias.
Syntax
struct DML_SCALE_BIAS {
FLOAT Scale;
FLOAT Bias;
};
Members
Scale
Type: FLOAT
The scale term in g(x) = x * Scale + Bias.
Bias
Type: FLOAT
The bias term in g(x) = x * Scale + Bias.
Requirements
Requirement | Value |
---|---|
Header | directml.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for