DML_INTERMEDIATE_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 between internal nodes.
Syntax
struct DML_INTERMEDIATE_GRAPH_EDGE_DESC {
UINT FromNodeIndex;
UINT FromNodeOutputIndex;
UINT ToNodeIndex;
UINT ToNodeInputIndex;
const char *Name;
};
Members
FromNodeIndex
Type: UINT
The index of the graph node from which a connection to another node is specified.
FromNodeOutputIndex
Type: UINT
The index of the output on the node at index FromNodeIndex where the connection is specified.
ToNodeIndex
Type: UINT
The index of the graph node into which a connection from another node is specified.
ToNodeInputIndex
Type: UINT
The index of the input on the node at index ToNodeIndex where the connection 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 |