---
title: MPSCNNBinaryConvolutionType.binaryWeights
framework: metalperformanceshaders
role: symbol
role_heading: Case
path: metalperformanceshaders/mpscnnbinaryconvolutiontype/binaryweights
---

# MPSCNNBinaryConvolutionType.binaryWeights

A convolution type that operates as a normal convolution, except that the weights are binary values.

## Declaration

```swift
case binaryWeights
```

## See Also

### Enumeration Cases

- [MPSCNNBinaryConvolutionType.AND](metalperformanceshaders/mpscnnbinaryconvolutiontype/and.md)
- [MPSCNNBinaryConvolutionType.XNOR](metalperformanceshaders/mpscnnbinaryconvolutiontype/xnor.md)
