DML_GRAPH_EDGE_TYPE enumeration (directml.h)

Defines constants that specify a type of graph edge. See DML_GRAPH_EDGE_DESC for the usage of this enumeration.

Syntax

typedef enum DML_GRAPH_EDGE_TYPE {
  DML_GRAPH_EDGE_TYPE_INVALID,
  DML_GRAPH_EDGE_TYPE_INPUT,
  DML_GRAPH_EDGE_TYPE_OUTPUT,
  DML_GRAPH_EDGE_TYPE_INTERMEDIATE
} ;

Constants

 
DML_GRAPH_EDGE_TYPE_INVALID
Specifies an unknown graph edge type, and is never valid. Using this value results in an error.
DML_GRAPH_EDGE_TYPE_INPUT
Specifies that the graph edge is described by the DML_INPUT_GRAPH_EDGE_DESC structure.
DML_GRAPH_EDGE_TYPE_OUTPUT
Specifies that the graph edge is described by the DML_OUTPUT_GRAPH_EDGE_DESC structure.
DML_GRAPH_EDGE_TYPE_INTERMEDIATE
Specifies that the graph edge is described by the DML_INTERMEDIATE_GRAPH_EDGE_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