<!--
{
  "availability" : [
    "iOS: 16.3.0 -",
    "iPadOS: 16.3.0 -",
    "macCatalyst: 16.3.0 -",
    "macOS: 13.2.0 -",
    "tvOS: 16.3.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalPerformanceShadersGraph",
  "identifier" : "/documentation/MetalPerformanceShadersGraph/MPSGraphConvolution3DOpDescriptor/dilationRateInZ",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal Performance Shaders Graph"
    ],
    "preciseIdentifier" : "c:objc(cs)MPSGraphConvolution3DOpDescriptor(py)dilationRateInZ"
  },
  "title" : "dilationRateInZ"
}
-->

# dilationRateInZ

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

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

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)