---
title: dilationRateInZ
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphconvolution3dopdescriptor/dilationrateinz
---

# dilationRateInZ

The amount by which weights tensor expands in the z-direction.

## Declaration

```swift
var dilationRateInZ: Int { get set }
```

## Discussion

Discussion The weights tensor is dilated by inserting dilationRateInZ-1 zeros between consecutive values in z-dimension. Dilated weights tensor depth is (dilationRateInZ-1)*kernelDepth+1. Default value is 1.
