DML_TENSOR_DESC structure (directml.h)

A generic container for a DirectML tensor description.

Syntax

struct DML_TENSOR_DESC {
  DML_TENSOR_TYPE Type;
  const void      *Desc;
};

Members

Type

Type: DML_TENSOR_TYPE

The type of the tensor description. See DML_TENSOR_TYPE for the available types.

Desc

Type: const void*

A pointer to the tensor description. The type of the pointed-to struct must match the value specified in Type.

Requirements

Requirement Value
Header directml.h