---
title: dataLayout
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphpooling2dopdescriptor/datalayout
---

# dataLayout

Defines the data layout of the input data in the forward pass. See: MPSGraphTensorNamedDataLayout.

## Declaration

```swift
var dataLayout: MPSGraphTensorNamedDataLayout { get set }
```
