<!--
{
  "availability" : [
    "*: -",
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/BNNS/FusedConvolutionParameters/init(type:weights:bias:stride:dilationStride:groupSize:padding:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:10Accelerate4BNNSO26FusedConvolutionParametersV4type7weights4bias6stride14dilationStride9groupSize7paddingAeC0D4TypeO_So21BNNSNDArrayDescriptoraAPSgSi1x_Si1ytSiAR_SiAStSiAC0D7PaddingOtcfc"
  },
  "title" : "init(type:weights:bias:stride:dilationStride:groupSize:padding:)"
}
-->

# init(type:weights:bias:stride:dilationStride:groupSize:padding:)

Returns a new fused convolution parameters structure.

```
init(type: BNNS.ConvolutionType, weights: BNNSNDArrayDescriptor, bias: BNNSNDArrayDescriptor?, stride: (x: Int, y: Int), dilationStride: (x: Int, y: Int), groupSize: Int, padding: BNNS.ConvolutionPadding)
```

## Parameters

`type`

An enumeration that specifies the convolution type.

`weights`

The descriptor of the weights.

`bias`

The descriptor of the bias.

`stride`

The width and height increments of the input image.

`dilationStride`

The width and height increments between elements in the input image during convolution.

`groupSize`

The convolution group size.

`padding`

The number of zeros that the operation virtually adds to the edges of the input.

---

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)