---
title: MPSNNReduceBinary
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpsnnreducebinary
---

# MPSNNReduceBinary

The base class for binary reduction filters.

## Declaration

```swift
class MPSNNReduceBinary
```

## Topics

### Instance Properties

- [primaryOffset](metalperformanceshaders/mpsnnreducebinary/primaryoffset.md)
- [primarySourceClipRect](metalperformanceshaders/mpsnnreducebinary/primarysourcecliprect.md)
- [secondaryOffset](metalperformanceshaders/mpsnnreducebinary/secondaryoffset.md)
- [secondarySourceClipRect](metalperformanceshaders/mpsnnreducebinary/secondarysourcecliprect.md)

## Relationships

### Inherits From

- [MPSCNNBinaryKernel](metalperformanceshaders/mpscnnbinarykernel.md)

### Inherited By

- [MPSNNLocalCorrelation](metalperformanceshaders/mpsnnlocalcorrelation.md)
- [MPSNNReduceFeatureChannelsAndWeightsMean](metalperformanceshaders/mpsnnreducefeaturechannelsandweightsmean.md)
- [MPSNNReduceFeatureChannelsAndWeightsSum](metalperformanceshaders/mpsnnreducefeaturechannelsandweightssum.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Reduction Layers

- [MPSNNReduceRowMax](metalperformanceshaders/mpsnnreducerowmax.md)
- [MPSNNReduceRowMin](metalperformanceshaders/mpsnnreducerowmin.md)
- [MPSNNReduceRowSum](metalperformanceshaders/mpsnnreducerowsum.md)
- [MPSNNReduceRowMean](metalperformanceshaders/mpsnnreducerowmean.md)
- [MPSNNReduceColumnMax](metalperformanceshaders/mpsnnreducecolumnmax.md)
- [MPSNNReduceColumnMin](metalperformanceshaders/mpsnnreducecolumnmin.md)
- [MPSNNReduceColumnSum](metalperformanceshaders/mpsnnreducecolumnsum.md)
- [MPSNNReduceColumnMean](metalperformanceshaders/mpsnnreducecolumnmean.md)
- [MPSNNReduceFeatureChannelsMax](metalperformanceshaders/mpsnnreducefeaturechannelsmax.md)
- [MPSNNReduceFeatureChannelsMin](metalperformanceshaders/mpsnnreducefeaturechannelsmin.md)
- [MPSNNReduceFeatureChannelsSum](metalperformanceshaders/mpsnnreducefeaturechannelssum.md)
- [MPSNNReduceFeatureChannelsMean](metalperformanceshaders/mpsnnreducefeaturechannelsmean.md)
- [MPSNNReduceFeatureChannelsArgumentMax](metalperformanceshaders/mpsnnreducefeaturechannelsargumentmax.md)
- [MPSNNReduceFeatureChannelsArgumentMin](metalperformanceshaders/mpsnnreducefeaturechannelsargumentmin.md)
- [MPSNNReduceFeatureChannelsAndWeightsSum](metalperformanceshaders/mpsnnreducefeaturechannelsandweightssum.md)
