DML_OPERATOR_GRAPH_NODE_DESC structure (directml.h)

Decribes a node within a graph of DirectML operators defined by DML_GRAPH_DESC and passed to IDMLDevice1::CompileGraph.

The behavior of this node is defined by a DirectML operator.

Syntax

struct DML_OPERATOR_GRAPH_NODE_DESC {
  IDMLOperator *Operator;
  const char   *Name;
};

Members

Operator

Type: IDMLOperator*

A DirectML operator defining the behavior of the node.

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