---
title: "init(inputDescriptorType:outputDescriptorType:function:)"
framework: accelerate
role: symbol
role_heading: Initializer
path: "accelerate/bnns/fusedunaryarithmeticparameters/init(inputdescriptortype:outputdescriptortype:function:)"
---

# init(inputDescriptorType:outputDescriptorType:function:)

Returns a new fused unary arithmetic parameters structure.

## Declaration

```swift
init(inputDescriptorType: BNNS.DescriptorType, outputDescriptorType: BNNS.DescriptorType, function: BNNS.ArithmeticUnaryFunction)
```

## Parameters

- `inputDescriptorType`: The descriptor type of the input.
- `outputDescriptorType`: The descriptor type of the output.
- `function`: The arithmetic function.
