---
title: "BNNSFilterApplyTwoInput(_:_:_:_:)"
framework: accelerate
role: symbol
role_heading: Function
path: "accelerate/bnnsfilterapplytwoinput(_:_:_:_:)"
---

# BNNSFilterApplyTwoInput(_:_:_:_:)

Applies a filter to a pair of inputs, writing the result to a specified output.

## Declaration

```swift
func BNNSFilterApplyTwoInput(_ filter: BNNSFilter?, _ inA: UnsafeRawPointer, _ inB: UnsafeRawPointer, _ out: UnsafeMutableRawPointer) -> Int32
```

## Parameters

- `filter`: The filter to apply.
- `inA`: Pointer to the first input data.
- `inB`: Pointer to the second input data.
- `out`: Pointer to the output data.

## See Also

### Forward Propagation Functions

- [BNNSFilterApply(_:_:_:)](accelerate/bnnsfilterapply(_:_:_:).md)
- [BNNSFilterApplyBatch(_:_:_:_:_:_:)](accelerate/bnnsfilterapplybatch(_:_:_:_:_:_:).md)
- [BNNSFilterApplyTwoInputBatch(_:_:_:_:_:_:_:_:)](accelerate/bnnsfilterapplytwoinputbatch(_:_:_:_:_:_:_:_:).md)
