---
title: dilationRateInX
framework: metalperformanceshadersgraph
role: symbol
role_heading: Instance Property
path: metalperformanceshadersgraph/mpsgraphconvolution3dopdescriptor/dilationrateinx
---

# dilationRateInX

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

## Declaration

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

## Discussion

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