DML_OUTPUT_GRAPH_EDGE_DESC structure (directml.h)

Describes a connection within a graph of DirectML operators defined by DML_GRAPH_DESC and passed to IDMLDevice1::CompileGraph. This structure is used to define a connection from an output of an internal node to a graph output.

Syntax

struct DML_OUTPUT_GRAPH_EDGE_DESC {
  UINT       FromNodeIndex;
  UINT       FromNodeOutputIndex;
  UINT       GraphOutputIndex;
  const char *Name;
};

Members

FromNodeIndex

FromNodeOutputIndex

GraphOutputIndex

Type: UINT

The index of the graph output to which a connection from an internal node output is specified.

Name

Type: _Field_z_ _Maybenull_ const char*

An optional name for the graph connection. If provided, this might be used within certain error messages emitted by the DirectML debug layer.

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