DML_INPUT_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 a graph input to an input of an internal node.
Syntax
struct DML_INPUT_GRAPH_EDGE_DESC {
UINT GraphInputIndex;
UINT ToNodeIndex;
UINT ToNodeInputIndex;
const char *Name;
};
Members
GraphInputIndex
Type: UINT
The index of the graph input from which a connection to an internal node input is specified.
ToNodeIndex
Type: UINT
The index of the internal node onto which the connection from the graph input is specified.
ToNodeInputIndex
Type: UINT
The index of the input on the internal node 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 |