DML_INTERPOLATION_MODE enumeration (directml.h)
Defines constants that specify a mode for the DirectML upsample 2-D operator (as described by the DML_UPSAMPLE_2D_OPERATOR_DESC structure).
Syntax
typedef enum DML_INTERPOLATION_MODE {
DML_INTERPOLATION_MODE_NEAREST_NEIGHBOR,
DML_INTERPOLATION_MODE_LINEAR
} ;
Constants
DML_INTERPOLATION_MODE_NEAREST_NEIGHBOR Specifies the nearest-neighbor mode. |
DML_INTERPOLATION_MODE_LINEAR Specifies a linear (including bilinear, trilinear, etc.) mode. |
Requirements
Requirement | Value |
---|---|
Header | directml.h |
See also
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