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