DML_AXIS_DIRECTION enumeration (directml.h)

Defines constants that specify the direction of an operation along the given axis for the operator (for example, summation, selecting the top-k elements, selecting the minimum element).

Syntax

typedef enum DML_AXIS_DIRECTION {
  DML_AXIS_DIRECTION_INCREASING = 0,
  DML_AXIS_DIRECTION_DECREASING = 1
} ;

Constants

 
DML_AXIS_DIRECTION_INCREASING
Value: 0
Specifies increasing order (from the low index to the high index).
DML_AXIS_DIRECTION_DECREASING
Value: 1
Specifies decreasing order (from the high index to the low index).

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header directml.h