DML_GRAPH_NODE_TYPE enumeration (directml.h)

Defines constants that specify a type of graph node. See DML_GRAPH_NODE_DESC for the usage of this enumeration.

Syntax

typedef enum DML_GRAPH_NODE_TYPE {
  DML_GRAPH_NODE_TYPE_INVALID,
  DML_GRAPH_NODE_TYPE_OPERATOR,
  DML_GRAPH_NODE_TYPE_CONSTANT
} ;

Constants

 
DML_GRAPH_NODE_TYPE_INVALID
Specifies an unknown graph edge type, and is never valid. Using this value results in an error.
DML_GRAPH_NODE_TYPE_OPERATOR
Specifies that the graph edge is described by the DML_OPERATOR_GRAPH_NODE_DESC structure.

## Availability

This API was introduced in DirectML version 1.1.0.

Requirements

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

See also