---
title: paddingValues
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphdepthwiseconvolution3dopdescriptor/paddingvalues
---

# paddingValues

The padding values for spatial dimensions.

## Declaration

```swift
var paddingValues: [NSNumber] { get set }
```

## Discussion

Discussion Must be six numbers, two for each spatial dimension. For example paddingValues[0] defines the explicit padding amount before the first spatial dimension (slowest running index of spatial dimensions), paddingValues[1] defines the padding amount after the first spatial dimension etc. Use only with paddingStyle = MPSGraphPaddingStyleExplicit. Default value: @[ @0, @0, @0, @0, @0, @0 ]
