編輯

共用方式為


DirectML enumerations

The following enumerations are declared in DirectML.h.

In this section

Topic and description
DML_AXIS_DIRECTION. 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).
DML_BINDING_TYPE. Defines constants that specify the nature of the resource(s) referred to by a binding description DML_BINDING_DESC structure.
DML_CONVOLUTION_DIRECTION. Defines constants that specify a direction for the DirectML convolution operator (as described by the DML_CONVOLUTION_OPERATOR_DESC structure).
DML_CONVOLUTION_MODE. Defines constants that specify a mode for the DirectML convolution operator (as described by the DML_CONVOLUTION_OPERATOR_DESC structure).
DML_CREATE_DEVICE_FLAGS. Supplies additional device creation options to DMLCreateDevice.
DML_DEPTH_SPACE_ORDER. Defines constants controlling the transform applied in the DirectML operators DML_OPERATOR_DEPTH_TO_SPACE1 and DML_OPERATOR_SPACE_TO_DEPTH1.
DML_EXECUTION_FLAGS. Supplies options to DirectML to control execution of operators.
DML_FEATURE. Defines a set of optional features and capabilities that can be queried from the DirectML device.
DML_GRAPH_EDGE_TYPE. Defines constants that specify a type of graph edge. See DML_GRAPH_EDGE_DESC for the usage of this enumeration.
DML_GRAPH_NODE_TYPE. Defines constants that specify a type of graph node. See DML_GRAPH_NODE_DESC for the usage of this enumeration.
DML_INTERPOLATION_MODE. Defines constants that specify a mode for the DirectML upsample 2-D operator (as described by the DML_UPSAMPLE_2D_OPERATOR_DESC structure).
DML_MATRIX_TRANSFORM. Defines constants that specify a matrix transform to be applied to a DirectML tensor.
DML_OPERATOR_TYPE. Defines the type of an operator description.
DML_PADDING_MODE. Defines constants that specify a mode for the DirectML pad operator (as described by the DML_PADDING_OPERATOR_DESC structure).
DML_RANDOM_GENERATOR_TYPE. Defines constants that specify types of random random-number generator.
DML_RECURRENT_NETWORK_DIRECTION. Defines constants that specify a direction for a recurrent DirectML operator.
DML_REDUCE_FUNCTION. Defines constants that specify the specific reduction algorithm to use for the DirectML reduce operator (as described by the DML_REDUCE_OPERATOR_DESC structure).
DML_TENSOR_DATA_TYPE. Specifies the data type of the values in a tensor.
DML_TENSOR_FLAGS. Specifies additional options in a tensor description.
DML_TENSOR_TYPE. Identifies a type of tensor description.