---
title: dilationRateInY
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphconvolution2dopdescriptor/dilationrateiny
---

# dilationRateInY

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

## Declaration

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

## Discussion

Discussion The weights tensor is dilated by inserting dilationRateInY-1 zeros between consecutive values in y-dimension. Dilated weights tensor width is (dilationRateInY-1)*kernelHeight+1. Default value is 1.
