DML_SIZE_2D structure (directml.h)

Contains values that can represent the size (as supplied to a DirectML operator) of a 2-D plane of elements within a tensor, or a 2-D scale, or any 2-D width/height value.

Syntax

struct DML_SIZE_2D {
  UINT Width;
  UINT Height;
};

Members

Width

Type: UINT

The width.

Height

Type: UINT

The height.

Requirements

Requirement Value
Header directml.h