---
title: "init(method:)"
framework: metalperformanceshaders
role: symbol
role_heading: Initializer
path: "metalperformanceshaders/mpsnndefaultpadding/init(method:)"
---

# init(method:)

## Declaration

```swift
convenience init(method: MPSNNPaddingMethod)
```

## See Also

### Initializers

- [MPSNNPaddingMethod](metalperformanceshaders/mpsnnpaddingmethod.md)
