DML_TENSOR_TYPE enumeration (directml.h)

Identifies a type of tensor description.

Syntax

typedef enum DML_TENSOR_TYPE {
  DML_TENSOR_TYPE_INVALID,
  DML_TENSOR_TYPE_BUFFER
} ;

Constants

 
DML_TENSOR_TYPE_INVALID
Indicates an unknown tensor description type. This value is never valid.
DML_TENSOR_TYPE_BUFFER
Indicates a tensor description that is represented by a Direct3D 12 buffer. The corresponding struct type is DML_BUFFER_TENSOR_DESC.

Requirements

Requirement Value
Header directml.h