---
title: dataType
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtltensorauxiliaryplanedescriptor/datatype
---

# dataType

The data format of all elements in the plane.

## Declaration

```swift
var dataType: MTLTensorDataType { get set }
```

## Discussion

Discussion The default value of this property is MTLTensorDataType.float8ue8m0.
